HasDesktopModulePermission checks whether the current user has a specific DesktopModule Permission
Namespace: DotNetNuke.Security.PermissionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static bool HasDesktopModulePermission( DesktopModulePermissionCollection objDesktopModulePermissions, string permissionKey ) |
| Visual Basic |
|---|
Public Shared Function HasDesktopModulePermission ( objDesktopModulePermissions As DesktopModulePermissionCollection, permissionKey As String ) As Boolean |
Parameters
- objDesktopModulePermissions
- Type: DotNetNuke.Security.Permissions..::..DesktopModulePermissionCollection
The Permissions for the DesktopModule
- permissionKey
- Type: System..::..String
The Permission to check