AgentClaims.AllowAnonymous(ClaimsIdentity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether anonymous access is allowed based on the given claims identity.
public static bool AllowAnonymous(System.Security.Claims.ClaimsIdentity identity);
static member AllowAnonymous : System.Security.Claims.ClaimsIdentity -> bool
Public Shared Function AllowAnonymous (identity As ClaimsIdentity) As Boolean
Parameters
- identity
- ClaimsIdentity
The claims identity to evaluate.
Returns
True if anonymous access is allowed, otherwise false.