Share via


Tenant.EncodeClaim method

Returns an encoded claim for the specified login name.

Namespace:  Microsoft.Online.SharePoint.TenantAdministration
Assembly:  Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)

Syntax

'Declaration
Public Overridable Function EncodeClaim ( _
    identifier As String _
) As ClientResult(Of String)
'Usage
Dim instance As Tenant
Dim identifier As String
Dim returnValue As ClientResult(Of String)

returnValue = instance.EncodeClaim(identifier)
public virtual ClientResult<string> EncodeClaim(
    string identifier
)

Parameters

  • identifier
    Type: System.String

    A string that represents a user’s login name.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
String

See also

Reference

Tenant class

Tenant members

Microsoft.Online.SharePoint.TenantAdministration namespace