リンク フレームワークの Active Directory データ コンシューマー

DataConsumer.Microsoft.EnterpriseManagement.ServiceManager.Connector.AD (ObjectTemplate)

リンク フレームワークの Active Directory データ コンシューマー クラス

Element properties:

TypeSystem.LinkingFramework.DataConnector.Projection

Source Code:

<ObjectTemplate ID="DataConsumer.Microsoft.EnterpriseManagement.ServiceManager.Connector.AD" TypeID="LFX!System.LinkingFramework.DataConnector.Projection">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/DataConnectorName$">MomStore</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/IsProvider$">False</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/SolutionName$">Active Directory Integration</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/EntryPoint$">Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.OperationalStoreConsumer</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/EntryAssembly$">Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore, Version="7.0.5000.0", Culture=neutral, PublicKeyToken="31bf3856ad364e35"</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/InstallSQLScripts$">&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_User]') is null
drop view [LFXSTG].[v_AD_User];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_AD_User] As
select
Lfx_RowId,
Lfx_SourceId,
Lfx_Status,
Lfx_Timestamp,
isnull(DisplayName,Domain+'\'+UserName) as DisplayName,
FirstName,
Initials,
LastName,
Company,
Department,
Office,
Title,
DistinguishedName,
Domain,
UserName,
objectguid as ObjectGuid,
objectsid as [SID],
SipAddress,
Email,
EmployeeId,
StreetAddress,
City,
[State],
Zip,
Country,
BusinessPhone,
null as BusinessPhone2,
HomePhone,
null as HomePhone2,
Fax,
Mobile,
Pager,
Locale,
FQDN,
UPN
from [LFXSTG].AD_User with (nolock) where not UserName is null
;
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_NotificationEndpoint]') is null
drop view [LFXSTG].[v_NotificationEndpoint];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_NotificationEndpoint] As
select
Lfx_Status as Lfx_Status,
Lfx_SourceId as Lfx_SourceId,
Lfx_Timestamp as Lfx_Timestamp,
Lfx_RowId as Lfx_RowId,
'SMTP' as [ChannelName],
[Email] as [TargetAddress],
[Domain]+'_'+[UserName]+'_SMTP' as Id
from AD_User A with (nolock) where not [Email] is null and not UserName is null and not [Domain] is null
union all
select
Lfx_Status as Lfx_Status,
Lfx_SourceId as Lfx_SourceId,
Lfx_Timestamp as Lfx_Timestamp,
Lfx_RowId as Lfx_RowId,
'SIP' as [ChannelName],
[SipAddress] as [TargetAddress],
[Domain]+'_'+[UserName]+'_SIP' as Id
from [LFXSTG].AD_User A with (nolock) where not [SipAddress] is null and not UserName is null and not [Domain] is null
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_UserManager]') is null
drop view [LFXSTG].[v_AD_UserManager];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_AD_UserManager] As
select
M.Lfx_RowId,
M.Lfx_SourceId,
M.Lfx_Status,
case when isnull(M.Lfx_Timestamp,'1900-01-01') &gt; isnull(U.Lfx_Timestamp,'1900-01-01')
then M.Lfx_Timestamp else U.Lfx_Timestamp end AS Lfx_Timestamp,
U.Domain as [UserDomain],
M.Domain as [ManagerDomain],
U.UserName as [UserName],
M.UserName as [ManagerName]
from [LFXSTG].AD_User U with (nolock)
inner join [LFXSTG].AD_User M with (nolock)
on U.manager = M.DistinguishedName and U.Lfx_SourceId = M.Lfx_SourceId
where not U.DistinguishedName is null and not M.DistinguishedName is null
and not M.UserName is null and not U.UserName is null
;
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_UserNotificationPoint]') is null
drop view [LFXSTG].[v_UserNotificationPoint];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_UserNotificationPoint] As
select
Lfx_Status as Lfx_Status,
Lfx_SourceId as Lfx_SourceId,
Lfx_Timestamp as Lfx_Timestamp,
Lfx_RowId as Lfx_RowId,
'SMTP' as [ChannelName],
isnull([Email],'') as [TargetAddress],
[Domain] as [Domain],
[UserName] as [UserName],
[Domain]+'_'+[UserName]+'_SMTP' as Id
from [LFXSTG].AD_User A with (nolock) where not UserName is null and not [Domain] is null
union all
select
Lfx_Status as Lfx_Status,
Lfx_SourceId as Lfx_SourceId,
Lfx_Timestamp as Lfx_Timestamp,
Lfx_RowId as Lfx_RowId,
'SIP' as [ChannelName],
isnull([SipAddress],'') as [TargetAddress],
[Domain] as [Domain],
[UserName] as [UserName],
[Domain]+'_'+[UserName]+'_SIP' as Id
from [LFXSTG].AD_User A with (nolock) where not UserName is null and not [Domain] is null
;
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_GroupNotificationPoint]') is null
drop view [LFXSTG].[v_GroupNotificationPoint];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_GroupNotificationPoint] As
select
Lfx_Status as Lfx_Status,
Lfx_SourceId as Lfx_SourceId,
Lfx_Timestamp as Lfx_Timestamp,
Lfx_RowId as Lfx_RowId,
'SMTP' as [ChannelName],
[Email] as [TargetAddress],
[Domain] as [Domain],
[UserName] as [UserName],
[Domain]+'_'+[UserName]+'_SMTP' as Id
from [LFXSTG].AD_Groups A with (nolock) where not [Email] is null and not UserName is null and not [Domain] is null
;
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_Computer]') is null
drop view [LFXSTG].[v_AD_Computer];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_AD_Computer] As
select
Lfx_RowId,
Lfx_SourceId,
Lfx_Status,
Lfx_Timestamp,
ActiveDirectorySite,
DNSName,
IPAddress,
NetworkName,
[Fullname]+'.'+[FQDN] as [PrincipalName],
DisplayName,
NetbiosComputerName,
objectsid as ActiveDirectoryObjectSid,
OrganizationalUnit,
Domain as NetbiosDomainName,
operatingSystem as OSVersionDisplayName,
operatingSystem as OSDisplayName,
operatingSystemVersion as OSVersion,
operatingSystemServicePack as ServicePackVersion
from [LFXSTG].AD_Computers with (nolock)
;
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_Group]') is null
drop view [LFXSTG].[v_AD_Group];
&lt;/Script&gt;&lt;Script&gt;
CREATE VIEW [LFXSTG].[v_AD_Group] As
select
Lfx_RowId,
Lfx_SourceId,
Lfx_Status,
Lfx_Timestamp,
isnull(DisplayName,Domain+'\'+UserName) as DisplayName,
Email,
DistinguishedName,
UserName,
objectguid as ObjectGuid,
objectsid as SID,
Domain,
FQDN,
UserName+'@'+FQDN as UPN
from [LFXSTG].AD_Groups with (nolock) where not UserName is null
;
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[AD_ProcessUsers]') is null
drop procedure [LFXSTG].AD_ProcessUsers
&lt;/Script&gt;&lt;Script&gt;
CREATE PROCEDURE [LFXSTG].AD_ProcessUsers
@TableName varchar(1000)
AS
BEGIN
SET NOCOUNT ON;
declare @ErrorMessage varchar(max)
if not exists (select * from dbo.sysobjects where id = object_id(@TableName) and OBJECTPROPERTY(id, N'IsUserTable') = 1)
begin
set @ErrorMessage = OBJECT_NAME(@@PROCID)+': cache table not found &lt; '+@TableName+' &gt;'
raiserror (@ErrorMessage, 10, 1)
end
else
begin
declare @cmd nvarchar(max)
set @cmd = N'
update [LFXSTG].AD_User
set Lfx_Status = ''D'',
Lfx_Timestamp = t.Lfx_Timestamp
from [LFXSTG].AD_User
inner join '+@TableName + ' t
on [LFXSTG].AD_User.objectguid = t.objectguid
and [LFXSTG].AD_User.Lfx_SourceId = t.Lfx_SourceId
where [LFXSTG].AD_User.Domain &lt;&gt; t.Domain
or [LFXSTG].AD_User.UserName &lt;&gt; t.UserName'
exec (@cmd)
end
END
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[AD_ProcessComputers]') is null
drop procedure [LFXSTG].AD_ProcessComputers
&lt;/Script&gt;&lt;Script&gt;
CREATE PROCEDURE [LFXSTG].AD_ProcessComputers
@TableName varchar(1000)
AS
BEGIN
SET NOCOUNT ON;
declare @ErrorMessage varchar(max)
if not exists (select * from dbo.sysobjects where id = object_id(@TableName) and OBJECTPROPERTY(id, N'IsUserTable') = 1)
begin
set @ErrorMessage = OBJECT_NAME(@@PROCID)+': cache table not found &lt; '+@TableName+' &gt;'
raiserror (@ErrorMessage, 18, 1)
end
else
begin
declare @cmd nvarchar(max)
set @cmd = N'
update [LFXSTG].AD_Computers
set Lfx_Status = ''D'',
Lfx_Timestamp = t.Lfx_Timestamp
from [LFXSTG].AD_Computers
inner join '+@TableName + ' t
on [LFXSTG].AD_Computers.objectguid = t.objectguid
and [LFXSTG].AD_Computers.Lfx_SourceId = t.Lfx_SourceId
where [LFXSTG].AD_Computers.[Fullname] &lt;&gt; t.[Fullname]
or [LFXSTG].AD_Computers.[FQDN] &lt;&gt; t.[FQDN]'
exec (@cmd)
end
END
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[AD_ProcessPrinters]') is null
drop procedure [LFXSTG].AD_ProcessPrinters
&lt;/Script&gt;&lt;Script&gt;
CREATE PROCEDURE [LFXSTG].AD_ProcessPrinters
@TableName varchar(1000)
AS
BEGIN
SET NOCOUNT ON;
declare @ErrorMessage varchar(max)
if not exists (select * from dbo.sysobjects where id = object_id(@TableName) and OBJECTPROPERTY(id, N'IsUserTable') = 1)
begin
set @ErrorMessage = OBJECT_NAME(@@PROCID)+': cache table not found &lt; '+@TableName+' &gt;'
raiserror (@ErrorMessage, 18, 1)
end
else
begin
declare @cmd nvarchar(max)
set @cmd = N'
update [LFXSTG].AD_Printers
set Lfx_Status = ''D'',
Lfx_Timestamp = t.Lfx_Timestamp
from [LFXSTG].AD_Printers
inner join '+@TableName + ' t
on [LFXSTG].AD_Printers.objectguid = t.objectguid
and [LFXSTG].AD_Printers.Lfx_SourceId = t.Lfx_SourceId
where [LFXSTG].AD_Printers.UNCName &lt;&gt; t.UNCName
'
exec (@cmd)
end
END
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[AD_ProcessGroups]') is null
drop procedure [LFXSTG].AD_ProcessGroups
&lt;/Script&gt;&lt;Script&gt;
CREATE PROCEDURE [LFXSTG].AD_ProcessGroups
@TableName varchar(1000)
AS
BEGIN
SET NOCOUNT ON;
declare @ErrorMessage varchar(max)
if not exists (select * from dbo.sysobjects where id = object_id(@TableName) and OBJECTPROPERTY(id, N'IsUserTable') = 1)
begin
set @ErrorMessage = OBJECT_NAME(@@PROCID)+': cache table not found &lt; '+@TableName+' &gt;'
raiserror (@ErrorMessage, 18, 1)
end
else
begin
declare @cmd nvarchar(max)
set @cmd = N'
update [LFXSTG].AD_Groups
set Lfx_Status = ''D'',
Lfx_Timestamp = t.Lfx_Timestamp
from [LFXSTG].AD_Groups
inner join '+@TableName + ' t
on [LFXSTG].AD_Groups.objectguid = t.objectguid
and [LFXSTG].AD_Groups.Lfx_SourceId = t.Lfx_SourceId
where [LFXSTG].AD_Groups.Domain &lt;&gt; t.Domain
or [LFXSTG].AD_Groups.UserName &lt;&gt; t.UserName'
exec (@cmd)
end
END
&lt;/Script&gt;</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataConnector']/UninstallSQLScripts$">&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_User]') is null
drop view [LFXSTG].[v_AD_User];
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_UserManager]') is null
drop view [LFXSTG].[v_AD_UserManager];
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_Computer]') is null
drop view [LFXSTG].[v_AD_Computer];
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_AD_Group]') is null
drop view [LFXSTG].[v_AD_Group];
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_NotificationEndpoint]') is null
drop view [LFXSTG].[v_NotificationEndpoint];
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_UserNotificationPoint]') is null
drop view [LFXSTG].[v_UserNotificationPoint];
&lt;/Script&gt;&lt;Script&gt;
if not object_id('[LFXSTG].[v_GroupNotificationPoint]') is null
drop view [LFXSTG].[v_GroupNotificationPoint];
&lt;/Script&gt;&lt;Script&gt;
IF exists (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[LFXSTG].AD_ProcessUsers') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [LFXSTG].AD_ProcessUsers
&lt;/Script&gt;&lt;Script&gt;
IF exists (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[LFXSTG].AD_ProcessComputers') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [LFXSTG].AD_ProcessComputers
&lt;/Script&gt;&lt;Script&gt;
IF exists (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[LFXSTG].AD_ProcessPrinters') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [LFXSTG].AD_ProcessPrinters
&lt;/Script&gt;&lt;Script&gt;
IF exists (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[LFXSTG].AD_ProcessGroups') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [LFXSTG].AD_ProcessGroups
&lt;/Script&gt;</Property>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_User_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">50</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select * from [LFXSTG].v_AD_User A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">ADUsers_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">ADUsers</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_UserPreference_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">50</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select Lfx_SourceId,Lfx_Status,Lfx_Timestamp,Lfx_RowId,[objectguid] as [Id],convert(int,[Locale]) as LocaleID from [LFXSTG].AD_User A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">AD_UserPreference_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">ADUsers</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">v_AD_UserManager</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">50</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select * from [LFXSTG].v_AD_UserManager A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">ADUsers_Manager</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">AD_User_Out</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_UserNotificationPoint_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">50</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select * from [LFXSTG].v_UserNotificationPoint A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">UserNotificationPoint</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">AD_User_Out</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_GroupNotificationPoint_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">50</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">
select * from [LFXSTG].v_GroupNotificationPoint A with (nolock)
</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">GroupNotificationPoint</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">AD_User_Out</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_Computer_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">200</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select * from [LFXSTG].v_AD_Computer A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">ADComputers_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">ADComputers</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_Printer_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">200</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select * from [LFXSTG].AD_Printers A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">ADPrinters_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">ADPrinters</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsTables' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataTable']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DataName$">AD_Group_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkField$">A.Lfx_Timestamp</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/WatermarkType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdField$">A.Lfx_RowId</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdType$">0</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/BatchIdSize$">50</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/UseCache$">false</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/QueryString$">

select * from [LFXSTG].v_AD_Group A with (nolock)


</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/CollectionName$">ADGroups_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataTable']/DependOnDataTable$">ADGroups</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">ADUsers_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_User_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;TypeName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.AD.User&lt;/TypeName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">AD_UserPreference_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_UserPreference_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;TypeName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.UserPreference.Localization&lt;/TypeName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.SupportingItem.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">ADUsers_Manager</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">v_AD_UserManager</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.UserManagesUser&lt;/RelationshipName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;&lt;SourcePropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;ManagerDomain:Domain,ManagerName:UserName&lt;/SourcePropertyName&gt;&lt;TargetPropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;UserDomain:Domain,UserName&lt;/TargetPropertyName&gt;&lt;SourceType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.AD.User&lt;/SourceType&gt;&lt;SourceMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/SourceMPName&gt;&lt;SourceMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/SourceMPVersion&gt;&lt;SourceMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/SourceMPToken&gt;&lt;TargetType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.AD.User&lt;/TargetType&gt;&lt;TargetMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/TargetMPName&gt;&lt;TargetMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/TargetMPVersion&gt;&lt;TargetMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/TargetMPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">UserNotificationPoint</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_UserNotificationPoint_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.UserHasPreference&lt;/RelationshipName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.SupportingItem.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;&lt;SourcePropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Domain,UserName&lt;/SourcePropertyName&gt;&lt;TargetPropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Id&lt;/TargetPropertyName&gt;&lt;SourceType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Domain.User&lt;/SourceType&gt;&lt;SourceMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Library&lt;/SourceMPName&gt;&lt;SourceMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/SourceMPVersion&gt;&lt;SourceMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/SourceMPToken&gt;&lt;TargetType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Notification.Endpoint&lt;/TargetType&gt;&lt;TargetMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Notifications.Library&lt;/TargetMPName&gt;&lt;TargetMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/TargetMPVersion&gt;&lt;TargetMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/TargetMPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">GroupNotificationPoint</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_GroupNotificationPoint_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.UserHasPreference&lt;/RelationshipName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.SupportingItem.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;&lt;SourcePropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Domain,UserName&lt;/SourcePropertyName&gt;&lt;TargetPropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Id&lt;/TargetPropertyName&gt;&lt;SourceType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.AD.Group&lt;/SourceType&gt;&lt;SourceMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/SourceMPName&gt;&lt;SourceMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/SourceMPVersion&gt;&lt;SourceMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/SourceMPToken&gt;&lt;TargetType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Notification.Endpoint&lt;/TargetType&gt;&lt;TargetMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;System.Notifications.Library&lt;/TargetMPName&gt;&lt;TargetMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.2905.0&lt;/TargetMPVersion&gt;&lt;TargetMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/TargetMPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">ADComputers_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_Computer_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;RelationshipName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.ComputerHostsOperatingSystem&lt;/RelationshipName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;&lt;SourcePropertyName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;PrincipalName&lt;/SourcePropertyName&gt;&lt;TargetPropertyName&gt;OSDisplayName:DisplayName&lt;/TargetPropertyName&gt;&lt;SourceType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Computer&lt;/SourceType&gt;&lt;SourceMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/SourceMPName&gt;&lt;SourceMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/SourceMPVersion&gt;&lt;SourceMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/SourceMPToken&gt;&lt;TargetType xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.OperatingSystem&lt;/TargetType&gt;&lt;TargetMPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/TargetMPName&gt;&lt;TargetMPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/TargetMPVersion&gt;&lt;TargetMPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/TargetMPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">ADPrinters_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_Printer_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;TypeName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.AD.Printer&lt;/TypeName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;</Property>
</Object>
<Object Path="$Context/Path[Relationship='LFX!System.LinkingFramework.ConnectorEmbedsCollections' SeedRole='Source' TypeConstraint='LFX!System.LinkingFramework.DataCollection']$">
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataCollectionName$">ADGroups_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/DataTables$">AD_Group_Out</Property>
<Property Path="$Context/Property[Type='LFX!System.LinkingFramework.DataCollection']/Settings$">&lt;TypeName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.AD.Group&lt;/TypeName&gt;&lt;MPName xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;Microsoft.Windows.Library&lt;/MPName&gt;&lt;MPVersion xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;7.5.8501.0&lt;/MPVersion&gt;&lt;MPToken xmlns="http://schemas.microsoft.com/sdm/servicedesk/linking/2005/09"&gt;31bf3856ad364e35&lt;/MPToken&gt;</Property>
</Object>
</ObjectTemplate>