Delegate ValidateUserNamePassword

A username and password validation function.

Namespace: EPiServer.Shell.Web
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public delegate bool ValidateUserNamePassword(string userName, string password);
Parameters
Type Name Description
System.String userName

The user name.

System.String password

The password

Returns
Type Description
System.Boolean

True if the user was sucessfully authenticated.

Constructors

ValidateUserNamePassword(Object, IntPtr)

Declaration
public ValidateUserNamePassword(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(String, String, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(string userName, string password, AsyncCallback callback, object object)
Parameters
Type Name Description
System.String userName
System.String password
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual bool EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.Boolean

Invoke(String, String)

Declaration
public virtual bool Invoke(string userName, string password)
Parameters
Type Name Description
System.String userName
System.String password
Returns
Type Description
System.Boolean