SPUtility.GetBinaryUserId method

Returns the binary identifier of the membership account.

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

Syntax

'Declaration
Public Shared Function GetBinaryUserId ( _
    fullName As String _
) As Byte()
'Usage
Dim fullName As String
Dim returnValue As Byte()

returnValue = SPUtility.GetBinaryUserId(fullName)
public static byte[] GetBinaryUserId(
    string fullName
)

Parameters

  • fullName
    Type: System.String

    Membership account name in the format “ProviderName:UserName”.

Return value

Type: []
Returns Byte.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace