CookieValidatePrincipalContext.ReplacePrincipal(ClaimsPrincipal) 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.
Called to replace the claims principal. The supplied principal will replace the value of the Principal property, which determines the identity of the authenticated request.
public:
void ReplacePrincipal(System::Security::Claims::ClaimsPrincipal ^ principal);
public void ReplacePrincipal (System.Security.Claims.ClaimsPrincipal principal);
member this.ReplacePrincipal : System.Security.Claims.ClaimsPrincipal -> unit
Public Sub ReplacePrincipal (principal As ClaimsPrincipal)
Parameters
- principal
- ClaimsPrincipal
The ClaimsPrincipal used as the replacement