IActiveDirectoryManager.GetNTUser Method

Gets a UserPrincipal info for the specified user NT name.
Function GetNTUser( _ 
ByVal samAccountName As String
) As UserPrincipal
This language is not supported or no code example is available.
UserPrincipal GetNTUser( 
string samAccountName 
)
This language is not supported or no code example is available.

Parameters

samAccountName
string

The samAccountName of the user.

Return Value

UserPrincipal

A user principals object for the specified user NT name. Returns null reference (Nothing in Visual Basic) if samAccountName is an empty string or null reference (Nothing in Visual Basic).

Exception type Condition

QdvApiException

Domain context and domain are not accessible.

Version
 
Available since QDV 7.14.499.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition