‎07-01-2015 02:22 PM
Solved! Go to Solution.
‎07-02-2015 01:26 PM
Select Top 1000000 tblADusers.Username,
tblADusers.Userdomain,
tblAssets.AssetID,
tblAssets.AssetName
From tblADusers
Inner Join tblUsersInGroup On tblADusers.Username = tblUsersInGroup.Username
And tblADusers.Userdomain = tblUsersInGroup.Domainname
Inner Join tblAssets On tblAssets.AssetID = tblUsersInGroup.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where tblAssetCustom.State = 1 And tblUsersInGroup.Admingroup = 1
Order By tblAssets.Userdomain,
tblAssets.Username,
tblAssets.AssetName
‎07-02-2015 01:26 PM
Select Top 1000000 tblADusers.Username,
tblADusers.Userdomain,
tblAssets.AssetID,
tblAssets.AssetName
From tblADusers
Inner Join tblUsersInGroup On tblADusers.Username = tblUsersInGroup.Username
And tblADusers.Userdomain = tblUsersInGroup.Domainname
Inner Join tblAssets On tblAssets.AssetID = tblUsersInGroup.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where tblAssetCustom.State = 1 And tblUsersInGroup.Admingroup = 1
Order By tblAssets.Userdomain,
tblAssets.Username,
tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now