IActiveDirectoryManager.IsUserMemberOfNTGroups Method

Determines whether a user is a member of any of specified NT groups.
Function IsUserMemberOfNTGroups( _ 
ByVal samAccountName As String, _ 
ByVal NTGroupNames As List(Of String) _ 
) As Boolean
This language is not supported or no code example is available.
bool IsUserMemberOfNTGroups( 
string samAccountName
List<string> NTGroupNames 
)
This language is not supported or no code example is available.

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

In this article

Definition