Interface IIdentityLookupService
Summary description for IIdentityLookupService.
Assembly: ImageVault.Common.dll
Syntax
public interface IIdentityLookupService
Methods
FindUsersByName(String, Int32, Int32)
Declaration
FindUsersByNameResult FindUsersByName(string usernameToMatch, int pageIndex, int pageSize)
Parameters
Type |
Name |
Description |
System.String |
usernameToMatch |
|
System.Int32 |
pageIndex |
|
System.Int32 |
pageSize |
|
Returns
GetAllRoles()
Declaration
Returns
Type |
Description |
System.String[] |
|
GetRolesForUser(String)
Gets all roles for a specific user
Declaration
string[] GetRolesForUser(string username)
Parameters
Type |
Name |
Description |
System.String |
username |
|
Returns
Type |
Description |
System.String[] |
|
GetUser(String, Boolean)
Declaration
string GetUser(string username, bool userIsOnline)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.Boolean |
userIsOnline |
|
Returns
Type |
Description |
System.String |
|
ValidateUser(String, String)
Validates the supplied username/password
Declaration
bool ValidateUser(string username, string password)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
password |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods