NShape Reference
MenuItemDef.IsGranted Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > MenuItemDef Class >

NShape Reference
MenuItemDef.IsGranted Method

Previous pageReturn to chapter overviewNext page

Checks whether the action is allowed.

Syntax

public bool IsGranted(ISecurityManager securityManager)

Description

The action checks the required permissions against the security manager.

Parameters

Name

Description

securityManager

Security manager to check with. Usually this is Project.SecurityManager.

Return Value

True, if all required permissions are given.

Exceptions

Name

Description

ArgumentNullException

Passed security manager is null.