DynamicRoleClaimProvider Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The single method, AddDynamicRoleClaims, exposed by this class is obsolete. You can use a ClaimsAuthenticationManager object to add claims to a ClaimsIdentity object.

Namespace:   System.Security.Claims
Assembly:  System (in System.dll)

System.Object
  System.Security.Claims.DynamicRoleClaimProvider

public static class DynamicRoleClaimProvider

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddDynamicRoleClaims(ClaimsIdentity, IEnumerable<Claim>)

Obsolete. You can use a ClaimsAuthenticationManager object to add claims to a ClaimsIdentity object.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: