Share via


UserManager<TUser>.UserValidator Property

Used to validate users before persisting changes

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

Syntax

'Declaration
Public Property UserValidator As IIdentityValidator(Of TUser)
    Get 
    Set
'Usage
Dim instance As UserManager 
Dim value As IIdentityValidator(Of TUser)

value = instance.UserValidator

instance.UserValidator = value
public IIdentityValidator<TUser> UserValidator { get; set; }
public:
property IIdentityValidator<TUser>^ UserValidator {
    IIdentityValidator<TUser>^ get ();
    void set (IIdentityValidator<TUser>^ value);
}
member UserValidator : IIdentityValidator<'TUser> with get, set
function get UserValidator () : IIdentityValidator<TUser>
function set UserValidator (value : IIdentityValidator<TUser>)

Property Value

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

See Also

Reference

UserManager<TUser> Class

Microsoft.AspNet.Identity Namespace