Share via


SPIdentityProofTokenUtilities.IsAnonymousIdentity method

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsAnonymousIdentity ( _
    self As JsonWebSecurityToken _
) As Boolean
'Usage
Dim self As JsonWebSecurityToken
Dim returnValue As Boolean

returnValue = self.IsAnonymousIdentity()
public static bool IsAnonymousIdentity(
    this JsonWebSecurityToken self
)

Parameters

  • self
    Type: JsonWebSecurityToken

Return value

Type: System.Boolean

Usage note

In Visual Basic and C#, you can call this method as an instance method on any object of type JsonWebSecurityToken. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=office.15) or https://msdn.microsoft.com/en-us/library/bb383977(v=office.15).

See also

Reference

SPIdentityProofTokenUtilities class

SPIdentityProofTokenUtilities members

Microsoft.SharePoint.IdentityModel namespace