PeopleEditor.GetAccountFromSid Method
Retrieves the name of the account associated with a specified security identifier (SID).
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function GetAccountFromSid ( _
bSid As Byte() _
) As String
'Usage
Dim bSid As Byte()
Dim returnValue As String
returnValue = PeopleEditor.GetAccountFromSid(bSid)
public static string GetAccountFromSid(
byte[] bSid
)
Parameters
bSid
Type: []The control's SID Byte array.
Return Value
Type: System.String
A string that represents the account name.