Show / Hide Table of Contents

Class RolePermissionManagerExtensions

Inheritance
System.Object
RolePermissionManagerExtensions
Namespace: Volo.Abp.PermissionManagement
Assembly: Volo.Abp.PermissionManagement.Domain.Identity.dll
Syntax
public static class RolePermissionManagerExtensions : object

Methods

GetAllForRoleAsync(IPermissionManager, String)

Declaration
public static Task<List<PermissionWithGrantedProviders>> GetAllForRoleAsync(this IPermissionManager permissionManager, string roleName)
Parameters
Type Name Description
IPermissionManager permissionManager
System.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
System.String roleName
System.String permissionName
Returns
Type Description
Task<PermissionWithGrantedProviders>

SetForRoleAsync(IPermissionManager, String, String, Boolean)

Declaration
public static Task SetForRoleAsync(this IPermissionManager permissionManager, string roleName, string permissionName, bool isGranted)
Parameters
Type Name Description
IPermissionManager permissionManager
System.String roleName
System.String permissionName
System.Boolean isGranted
Returns
Type Description
Task
Back to top Powered by Volosoft