Hi,
I have a report which shows my Windows PC and Servers. It gives a list of the groups and shows the group members, either local or domain. It mearly does what I want ...but I also need to know whether the accounts are enabled or disabled. Want to run this to perform an uadit check ..so need to be able to see that local guest is disabled.
Can anyone help please ?
Here is my current report:
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tblUsersInGroup.Groupname As [Group],
tblUsersInGroup.Domainname As User_Domian,
tblUsersInGroup.Username As User_Name
From tblAssets
Inner Join tblUsersInGroup On tblAssets.AssetID = tblUsersInGroup.AssetID
Where tblUsersInGroup.Accounttype = 1
Order By tblAssets.AssetID,
tblUsersInGroup.Groupname