IActiveDirectoryManager.GetNTUserFromSid Method

Gets a UserPrincipal info for the specified user SID.
Function GetNTUserFromSid( _ 
ByVal sid As String
) As UserPrincipal
This language is not supported or no code example is available.
UserPrincipal GetNTUserFromSid( 
string sid 
)
This language is not supported or no code example is available.

Parameters

sid
string

The user SID.

Return Value

UserPrincipal

A user principals object for specified user NT name. Returns null reference (Nothing in Visual Basic) if sid 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