PeopleEditor.GetSidHexRepresentation method

Retrieves a hexadecimal representation of the control's security identifier (SID) binary array.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetSidHexRepresentation ( _
    SID As Byte() _
) As String
'Usage
Dim SID As Byte()
Dim returnValue As String

returnValue = PeopleEditor.GetSidHexRepresentation(SID)
public static string GetSidHexRepresentation(
    byte[] SID
)

Parameters

  • SID
    Type: []

    The control's SID Byte array.

Return value

Type: System.String
A hexadecimal representation of the SID, preceded by a leading "0x" (a zero and lowercase letter "x"); for example, "0x01A5C0".

See also

Reference

PeopleEditor class

PeopleEditor members

Microsoft.SharePoint.WebControls namespace