QDVAPIFunctions.GetNTUserFromSid Method

Gets a UserPrincipal info for the specified user SID.
public 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.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition