C# Класс RalphWilliams.Modules.DNNVideoCourse.Controllers.RoleController

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetRoleGroupByName() публичный статический Метод

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.
Результат DotNetNuke.Security.Roles.RoleGroupInfo

GetRoleGroups() публичный статический Метод

Gets the role groups.
public static GetRoleGroups ( int portalId ) : List
portalId int The portal identifier.
Результат List

GetRolesByRoleGroupID() публичный статический Метод

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.
Результат List

GetUserRoles() публичный статический Метод

Gets the user roles.
public static GetUserRoles ( DotNetNuke.Entities.Users.UserInfo userInfo ) : List
userInfo DotNetNuke.Entities.Users.UserInfo The user information.
Результат List

GetUsersByRole() публичный статический Метод

Gets the users by role.
public static GetUsersByRole ( int portalId, string roleName ) : List
portalId int The portal identifier.
roleName string Name of the role.
Результат List