Share via


IdentityUser.Claims Property

Navigation property for user claims

Namespace:  Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

'Declaration
Public Overridable Property Claims As ICollection(Of IdentityUserClaim)
    Get 
    Private Set
'Usage
Dim instance As IdentityUser 
Dim value As ICollection(Of IdentityUserClaim)

value = instance.Claims
public virtual ICollection<IdentityUserClaim> Claims { get; private set; }
public:
virtual property ICollection<IdentityUserClaim^>^ Claims {
    ICollection<IdentityUserClaim^>^ get ();
    private: void set (ICollection<IdentityUserClaim^>^ value);
}
abstract Claims : ICollection<IdentityUserClaim> with get, private set 
override Claims : ICollection<IdentityUserClaim> with get, private set
function get Claims () : ICollection<IdentityUserClaim>
private function set Claims (value : ICollection<IdentityUserClaim>)

Property Value

Type: System.Collections.Generic.ICollection<IdentityUserClaim>

See Also

Reference

IdentityUser Class

Microsoft.AspNet.Identity.EntityFramework Namespace