IdentityUserRole<TKey> 類別

定義

代表使用者與角色之間的連結。

generic <typename TKey>
 where TKey : IEquatable<TKey>public ref class IdentityUserRole
public class IdentityUserRole<TKey> where TKey : IEquatable<TKey>
type IdentityUserRole<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityUserRole(Of TKey)

類型參數

TKey

用於使用者和角色的主鍵類型。

繼承
IdentityUserRole<TKey>

建構函式

IdentityUserRole<TKey>()

代表使用者與角色之間的連結。

屬性

RoleId

取得或設定連結至使用者的角色主鍵。

UserId

取得或設定連結至角色之使用者的主鍵。

適用於