Interface IPermissionDefinitionService
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IPermissionDefinitionService
Methods
AddDefinition(IPermissionDefinitionInfo)
Declaration
int AddDefinition(IPermissionDefinitionInfo permissionDefinition)
Parameters
Returns
ClearCache()
Declaration
DeleteDefinition(IPermissionDefinitionInfo)
Declaration
void DeleteDefinition(IPermissionDefinitionInfo permissionDefinition)
Parameters
GetDefinition(int)
Declaration
IPermissionDefinitionInfo GetDefinition(int permissionDefinitionId)
Parameters
Type |
Name |
Description |
int |
permissionDefinitionId |
|
Returns
GetDefinitions()
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitions()
Returns
GetDefinitionsByCodeAndKey(string, string)
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitionsByCodeAndKey(string permissionCode, string permissionKey)
Parameters
Type |
Name |
Description |
string |
permissionCode |
|
string |
permissionKey |
|
Returns
GetDefinitionsByFolder()
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitionsByFolder()
Returns
GetDefinitionsByModule(int, int)
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitionsByModule(int moduleId, int tabId)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
int |
tabId |
|
Returns
GetDefinitionsByModuleDefId(int)
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitionsByModuleDefId(int moduleDefId)
Parameters
Type |
Name |
Description |
int |
moduleDefId |
|
Returns
GetDefinitionsByPortalDesktopModule()
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitionsByPortalDesktopModule()
Returns
GetDefinitionsByTab()
Declaration
IEnumerable<IPermissionDefinitionInfo> GetDefinitionsByTab()
Returns
UpdateDefinition(IPermissionDefinitionInfo)
Declaration
void UpdateDefinition(IPermissionDefinitionInfo permission)
Parameters
Extension Methods