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 incoming identity.
public static bool AllowAnonymous(System.Security.Claims.ClaimsIdentity identity);
static member AllowAnonymous : System.Security.Claims.ClaimsIdentity -> bool
Public Function AllowAnonymous (identity As ClaimsIdentity) As Boolean
Parameters
- identity
- ClaimsIdentity
The incoming identity to evaluate.
Returns
True if anonymous access is allowed, otherwise false.