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>

适用于