Property | Type | Description | |
---|---|---|---|
ADSearch | String[] | ||
DetermineApplicationName | void | ||
PopulateLists | void | ||
ReadConfig | string | ||
RecurseGroup | void |
Method | Description | |
---|---|---|
ActiveDirectoryRoleProvider ( ) : System |
Initializes a new instance of the ADRoleProvider class.
|
|
AddUsersToRoles ( string usernames, string rolenames ) : void |
AddUsersToRoles not supported. For security and management purposes, ADRoleProvider only supports read operations against Active Direcory.
|
|
CreateRole ( string rolename ) : void |
CreateRole not supported. For security and management purposes, ADRoleProvider only supports read operations against Active Direcory.
|
|
DeleteRole ( string rolename, bool throwOnPopulatedRole ) : bool |
DeleteRole not supported. For security and management purposes, ADRoleProvider only supports read operations against Active Direcory.
|
|
FindUsersInRole ( string rolename, string usernameToMatch ) : string[] |
Return sorted list of usernames like usernameToMatch in rolename
|
|
GetAllRoles ( ) : string[] |
Retrieve listing of all roles.
|
|
GetRolesForUser ( string username ) : string[] |
Retrieve listing of all roles to which a specified user belongs.
|
|
GetUsersInRole ( String rolename ) : string[] |
Retrieve listing of all users in a specified role.
|
|
Initialize ( String name, |
Initialize ADRoleProvider with config values
|
|
IsUserInRole ( string username, string rolename ) : bool |
Determine if a specified user is in a specified role.
|
|
IsUserInRoles ( IPrincipal user ) : bool |
Provides static access to determine if a user is a mamber of one or more roles
|
|
RemoveUsersFromRoles ( string usernames, string rolenames ) : void |
RemoveUsersFromRoles not supported. For security and management purposes, ADRoleProvider only supports read operations against Active Direcory.
|
|
RoleExists ( string rolename ) : bool |
Determine if given role exists
|
Method | Description | |
---|---|---|
ADSearch ( String ConnectionString, String filter, String field ) : String[] |
Performs an extremely constrained query against Active Directory. Requests only a single value from AD based upon the filtering parameter to minimize performance hit from large queries.
|
|
DetermineApplicationName ( |
||
PopulateLists ( |
||
ReadConfig ( |
||
RecurseGroup ( System.DirectoryServices.AccountManagement.PrincipalContext context, string group, List |
public ActiveDirectoryRoleProvider ( ) : System | ||
return | System |
public AddUsersToRoles ( string usernames, string rolenames ) : void | ||
usernames | string | |
rolenames | string | |
return | void |
public DeleteRole ( string rolename, bool throwOnPopulatedRole ) : bool | ||
rolename | string | |
throwOnPopulatedRole | bool | |
return | bool |
public FindUsersInRole ( string rolename, string usernameToMatch ) : string[] | ||
rolename | string | Role to check |
usernameToMatch | string | Partial username to check |
return | string[] |
public GetRolesForUser ( string username ) : string[] | ||
username | string | |
return | string[] |
public GetUsersInRole ( String rolename ) : string[] | ||
rolename | String | String array of users |
return | string[] |
public Initialize ( String name, |
||
name | String | |
config | ||
return | void |
public IsUserInRole ( string username, string rolename ) : bool | ||
username | string | |
rolename | string | |
return | bool |
public static IsUserInRoles ( IPrincipal user ) : bool | ||
user | IPrincipal | |
return | bool |
public RemoveUsersFromRoles ( string usernames, string rolenames ) : void | ||
usernames | string | |
rolenames | string | |
return | void |
public RoleExists ( string rolename ) : bool | ||
rolename | string | Role to check |
return | bool |