IActiveDirectoryManager.IsUserMemberOfNTGroups Method

Determines whether a user is a member of any of specified NT groups.
bool IsUserMemberOfNTGroups( 
   string samAccountName
   List<string> NTGroupNames 
)

Parameters

samAccountName
string

The NT user name/login.

NTGroupNames
List<string>

The NT group names to check.

Return Value

bool

A value indicating whether the user is a member of any of the specified NT groups.

Remarks
 
The comparison is done by exact group name.
Version
 
Available since QDV 7.14.499.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2