37 references to Provider
System.Web (35)
Security\RolePrincipal.cs (2)
47
_ProviderName = Roles.
Provider
.Name;
167
_ProviderName = Roles.
Provider
.Name;
Security\Roles.cs (33)
89
get { return
Provider
.ApplicationName; }
90
set {
Provider
.ApplicationName = value; }
108
if (user != null && user is RolePrincipal && ((RolePrincipal)user).ProviderName ==
Provider
.Name && StringUtil.EqualsIgnoreCase(username, user.Identity.Name))
111
isUserInRole =
Provider
.IsUserInRole(username, roleName);
117
EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_IS_USER_IN_ROLE, HttpContext.Current.WorkerRequest, isRolePrincipal ? "RolePrincipal" :
Provider
.GetType().FullName, username, roleName, status);
120
EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_END, HttpContext.Current.WorkerRequest, isRolePrincipal ? "RolePrincipal" :
Provider
.GetType().FullName, username);
145
if (user != null && user is RolePrincipal && ((RolePrincipal)user).ProviderName ==
Provider
.Name && StringUtil.EqualsIgnoreCase(username, user.Identity.Name)) {
149
roles =
Provider
.GetRolesForUser(username);
161
EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_GET_USER_ROLES, HttpContext.Current.WorkerRequest, isRolePrincipal ? "RolePrincipal" :
Provider
.GetType().FullName, username, roleNames, null);
163
EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_END, HttpContext.Current.WorkerRequest, isRolePrincipal ? "RolePrincipal" :
Provider
.GetType().FullName, username);
179
return
Provider
.GetUsersInRole(roleName);
186
Provider
.CreateRole(roleName);
194
bool roleDeleted =
Provider
.DeleteRole(roleName, throwOnPopulatedRole);
198
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached && user.IsInRole(roleName))
215
return
Provider
.RoleExists(roleName);
224
Provider
.AddUsersToRoles(new string [] {username}, new string [] {roleName});
228
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username))
247
Provider
.AddUsersToRoles(new string [] {username}, roleNames);
251
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username))
270
Provider
.AddUsersToRoles(usernames, new string [] {roleName});
274
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached)
303
Provider
.AddUsersToRoles(usernames, roleNames);
307
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached)
323
Provider
.RemoveUsersFromRoles(new string [] {username}, new string [] {roleName});
327
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username))
346
Provider
.RemoveUsersFromRoles(new string [] {username}, roleNames);
350
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached && StringUtil.EqualsIgnoreCase(user.Identity.Name, username))
369
Provider
.RemoveUsersFromRoles(usernames, new string[] { roleName });
373
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached)
402
Provider
.RemoveUsersFromRoles(usernames, roleNames);
406
if (user != null && user.ProviderName ==
Provider
.Name && user.IsRoleListCached)
420
return
Provider
.GetAllRoles();
458
return
Provider
.FindUsersInRole(roleName, usernameToMatch);
System.Web.Extensions (1)
ApplicationServices\RoleService.cs (1)
53
string providerName = Roles.
Provider
.Name;
System.Workflow.Activities (1)
Role\WebWorkflowRole.cs (1)
87
return System.Web.Security.Roles.
Provider
;