RoleManager<TRole, TKey>.RoleValidator Property

 

Gets or sets the object used to validate roles before persisting changes.

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

Syntax

public IIdentityValidator<TRole> RoleValidator { get; set; }
public:
property IIdentityValidator<TRole>^ RoleValidator {
    IIdentityValidator<TRole>^ get();
    void set(IIdentityValidator<TRole>^ value);
}
member RoleValidator : IIdentityValidator<'TRole> with get, set
Public Property RoleValidator As IIdentityValidator(Of TRole)

Property Value

Type: Microsoft.AspNet.Identity.IIdentityValidator<TRole>

The object used to validate roles before persisting changes.

See Also

RoleManager<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top