IActiveDirectoryManager.GetNTUser Method
Function GetNTUser( _
ByVal samAccountName As String _
) As UserPrincipal
This language is not supported or no code example is available.
Parameters
- samAccountName
- string
The samAccountName of the user.
Return Value
UserPrincipalA 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 |
---|---|
Domain context and domain are not accessible. |
Available since QDV 7.14.499.