C# Class RalphWilliams.Modules.DNNVideoCourse.Controllers.RoleController

Mostrar archivo Open project: ralphwilliams/DNNVideoCourseModule

Public Methods

Method Description
GetRoleGroupByName ( int portalId, string roleGroupName ) : DotNetNuke.Security.Roles.RoleGroupInfo

Gets the name of the role group by.

GetRoleGroups ( int portalId ) : List

Gets the role groups.

GetRolesByRoleGroupID ( int portalId, int roleGroupId ) : List

Gets the roles by role group identifier.

GetUserRoles ( DotNetNuke.Entities.Users.UserInfo userInfo ) : List

Gets the user roles.

GetUsersByRole ( int portalId, string roleName ) : List

Gets the users by role.

Method Details

GetRoleGroupByName() public static method

Gets the name of the role group by.
public static GetRoleGroupByName ( int portalId, string roleGroupName ) : DotNetNuke.Security.Roles.RoleGroupInfo
portalId int The portal identifier.
roleGroupName string Name of the role group.
return DotNetNuke.Security.Roles.RoleGroupInfo

GetRoleGroups() public static method

Gets the role groups.
public static GetRoleGroups ( int portalId ) : List
portalId int The portal identifier.
return List

GetRolesByRoleGroupID() public static method

Gets the roles by role group identifier.
public static GetRolesByRoleGroupID ( int portalId, int roleGroupId ) : List
portalId int The portal identifier.
roleGroupId int The role group identifier.
return List

GetUserRoles() public static method

Gets the user roles.
public static GetUserRoles ( DotNetNuke.Entities.Users.UserInfo userInfo ) : List
userInfo DotNetNuke.Entities.Users.UserInfo The user information.
return List

GetUsersByRole() public static method

Gets the users by role.
public static GetUsersByRole ( int portalId, string roleName ) : List
portalId int The portal identifier.
roleName string Name of the role.
return List