SPClaim.ToEncodedString method

Encodes the value of the current claim object into a string.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public string ToEncodedString()

Return value

Type: System.String
Returns the String representation of the value of the current claim object.

The result of this method can be used in other areas of the SharePoint object model where a string-based login name is expected.

Show: