The following Query will display all users in a group
EXEC xp_logininfo '<Group_Name>', 'members'
example:
EXEC xp_logininfo 'BUILTIN\Administrators', 'members'
EXEC xp_logininfo '<Group_Name>', 'members'
example:
EXEC xp_logininfo 'BUILTIN\Administrators', 'members'
No comments:
Post a Comment