Show / Hide Table of Contents

Class RolePermissionManagerExtensions

Inheritance
object
RolePermissionManagerExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.PermissionManagement
Assembly: Volo.Abp.PermissionManagement.Domain.Identity.dll
Syntax
public static class RolePermissionManagerExtensions

Methods

GetAllForRoleAsync(IPermissionManager, string)

Declaration
public static Task<List<PermissionWithGrantedProviders>> GetAllForRoleAsync(this IPermissionManager permissionManager, string roleName)
Parameters
Type Name Description
IPermissionManager permissionManager
string roleName
Returns
Type Description
Task<List<PermissionWithGrantedProviders>>

GetForRoleAsync(IPermissionManager, string, string)

Declaration
public static Task<PermissionWithGrantedProviders> GetForRoleAsync(this IPermissionManager permissionManager, string roleName, string permissionName)
Parameters
Type Name Description
IPermissionManager permissionManager
string roleName
string permissionName
Returns
Type Description
Task<PermissionWithGrantedProviders>

SetForRoleAsync(IPermissionManager, string, string, bool)

Declaration
public static Task SetForRoleAsync(this IPermissionManager permissionManager, string roleName, string permissionName, bool isGranted)
Parameters
Type Name Description
IPermissionManager permissionManager
string roleName
string permissionName
bool isGranted
Returns
Type Description
Task
In this article
Back to top Powered by ABP.IO Platform