UserStore<TUser,TRole,TContext,TKey>.CreateUserClaim Methode

Definition

Wird aufgerufen, um eine neue instance eines IdentityUserClaim<TKey>zu erstellen.

protected:
 override Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserClaim<TKey> ^ CreateUserClaim(TUser user, System::Security::Claims::Claim ^ claim);
protected override Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<TKey> CreateUserClaim (TUser user, System.Security.Claims.Claim claim);
override this.CreateUserClaim : 'User * System.Security.Claims.Claim -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<'Key (requires 'Key :> IEquatable<'Key>)>
Protected Overrides Function CreateUserClaim (user As TUser, claim As Claim) As IdentityUserClaim(Of TKey)

Parameter

user
TUser

Der zugeordnete Benutzer.

claim
Claim

Der zugeordnete Anspruch.

Gibt zurück

Gilt für: