Share via


SPSessionSecurityTokenCookieValue.UserName property

The user name found in the cookie.

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

Syntax

'Declaration
Public Property UserName As String
    Get
    Protected Set
'Usage
Dim instance As SPSessionSecurityTokenCookieValue
Dim value As String

value = instance.UserName

instance.UserName = value
public string UserName { get; protected set; }

Property value

Type: System.String

See also

Reference

SPSessionSecurityTokenCookieValue class

SPSessionSecurityTokenCookieValue members

Microsoft.SharePoint.IdentityModel namespace