IActiveDirectoryManager.GetSidFromLogin Method

Gets a SID from the login data.
Function GetSidFromLogin( _ 
ByVal login As String, _ 
ByVal userTypeIsNTGroup As Boolean
) As String
This language is not supported or no code example is available.
string GetSidFromLogin( 
string login
bool userTypeIsNTGroup 
)
This language is not supported or no code example is available.

Parameters

login
string

The login name.

userTypeIsNTGroup
bool

If set to true, then the SID will be searched for an NT group; otherwise, for a user.

Return Value

string

A SID belonging to the login data or null reference (Nothing in Visual Basic) if not found.

Version
 
Available since QDV 7.14.499.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition