Class DNNRoleProvider
Inheritance
DNNRoleProvider
Assembly: DotNetNuke.dll
Syntax
public class DNNRoleProvider : RoleProvider
Constructors
DNNRoleProvider()
Declaration
Methods
AddUserToRole(int, UserInfo, UserRoleInfo)
Declaration
public override bool AddUserToRole(int portalId, UserInfo user, UserRoleInfo userRole)
Parameters
Returns
Overrides
CreateRole(RoleInfo)
Declaration
public override bool CreateRole(RoleInfo role)
Parameters
Returns
Overrides
CreateRoleGroup(RoleGroupInfo)
Declaration
public override int CreateRoleGroup(RoleGroupInfo roleGroup)
Parameters
Returns
Overrides
DeleteRole(RoleInfo)
Declaration
public override void DeleteRole(RoleInfo role)
Parameters
Overrides
DeleteRoleGroup(RoleGroupInfo)
Declaration
public override void DeleteRoleGroup(RoleGroupInfo roleGroup)
Parameters
Overrides
GetRoleGroup(int, int)
Declaration
public override RoleGroupInfo GetRoleGroup(int portalId, int roleGroupId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
roleGroupId |
|
Returns
Overrides
GetRoleGroupByName(int, string)
Declaration
public override RoleGroupInfo GetRoleGroupByName(int portalId, string roleGroupName)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
roleGroupName |
|
Returns
Overrides
GetRoleGroups(int)
Declaration
public override ArrayList GetRoleGroups(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
Overrides
GetRoleSettings(int)
Declaration
public override IDictionary<string, string> GetRoleSettings(int roleId)
Parameters
Type |
Name |
Description |
int |
roleId |
|
Returns
Overrides
GetRoles(int)
Declaration
public override ArrayList GetRoles(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
Overrides
GetRolesBasicSearch(int, int, string)
Declaration
public override IList<RoleInfo> GetRolesBasicSearch(int portalID, int pageSize, string filterBy)
Parameters
Type |
Name |
Description |
int |
portalID |
|
int |
pageSize |
|
string |
filterBy |
|
Returns
Overrides
GetUserRole(int, int, int)
Declaration
public override UserRoleInfo GetUserRole(int portalId, int userId, int roleId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
userId |
|
int |
roleId |
|
Returns
Overrides
GetUserRoles(UserInfo, bool)
Declaration
public override IList<UserRoleInfo> GetUserRoles(UserInfo user, bool includePrivate)
Parameters
Returns
Overrides
GetUserRoles(int, string, string)
Declaration
public override ArrayList GetUserRoles(int portalId, string userName, string roleName)
Parameters
Returns
Overrides
GetUsersByRoleName(int, string)
Declaration
public override ArrayList GetUsersByRoleName(int portalId, string roleName)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
roleName |
|
Returns
Overrides
RemoveUserFromRole(int, UserInfo, UserRoleInfo)
Declaration
public override void RemoveUserFromRole(int portalId, UserInfo user, UserRoleInfo userRole)
Parameters
Overrides
UpdateRole(RoleInfo)
Declaration
public override void UpdateRole(RoleInfo role)
Parameters
Overrides
UpdateRoleGroup(RoleGroupInfo)
Declaration
public override void UpdateRoleGroup(RoleGroupInfo roleGroup)
Parameters
Overrides
UpdateRoleSettings(RoleInfo)
Declaration
public override void UpdateRoleSettings(RoleInfo role)
Parameters
Overrides
UpdateUserRole(UserRoleInfo)
Declaration
public override void UpdateUserRole(UserRoleInfo userRole)
Parameters
Overrides
Extension Methods