共用方式為


IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>.Roles 屬性

定義

此使用者所屬角色的導覽屬性。

public:
 virtual property System::Collections::Generic::ICollection<TUserRole> ^ Roles { System::Collections::Generic::ICollection<TUserRole> ^ get(); };
public virtual System.Collections.Generic.ICollection<TUserRole> Roles { get; }
member this.Roles : System.Collections.Generic.ICollection<'UserRole>
Public Overridable ReadOnly Property Roles As ICollection(Of TUserRole)

屬性值

ICollection<TUserRole>

適用於