UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserClaim 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 create a new instance of a IdentityUserClaim<TKey>.
protected:
virtual TUserClaim CreateUserClaim(TUser user, System::Security::Claims::Claim ^ claim);
protected virtual TUserClaim CreateUserClaim (TUser user, System.Security.Claims.Claim claim);
abstract member CreateUserClaim : 'User * System.Security.Claims.Claim -> 'UserClaim
override this.CreateUserClaim : 'User * System.Security.Claims.Claim -> 'UserClaim
Protected Overridable Function CreateUserClaim (user As TUser, claim As Claim) As TUserClaim
Parameters
- user
- TUser
The associated user.
- claim
- Claim
The associated claim.
Returns
TUserClaim