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)

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.

See also

Reference

PeopleEditor class

PeopleEditor members

Microsoft.SharePoint.WebControls namespace