共用方式為


UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>.CreateUserClaim 方法

定義

建立代表使用者宣告的新實體。

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

參數

user
TUser
claim
Claim

傳回

TUserClaim

適用於