IdentityUserRole<TKey>.UserId Property
Gets or sets the ID for the user that is in the role.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual TKey UserId { get; set; }
public:
property TKey UserId {
virtual TKey get();
virtual void set(TKey value);
}
abstract UserId : 'TKey with get, set
override UserId : 'TKey with get, set
Public Overridable Property UserId As TKey
Property Value
Type: TKey
The ID for the user that is in the role.
See Also
IdentityUserRole<TKey> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top