Dela via


UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken,TRoleClaim>.CreateUserClaim Method

Definition

Create a new entity representing a user claim.

protected:
 abstract TUserClaim CreateUserClaim(TUser user, System::Security::Claims::Claim ^ claim);
protected abstract TUserClaim CreateUserClaim (TUser user, System.Security.Claims.Claim claim);
abstract member CreateUserClaim : 'User * System.Security.Claims.Claim -> 'UserClaim
Protected MustOverride Function CreateUserClaim (user As TUser, claim As Claim) As TUserClaim

Parameters

user
TUser
claim
Claim

Returns

TUserClaim

Applies to