Determines whether a Permission is allowed or not.

As per the Allow method but will always return the correct value even if a Script or internal process is running with special Administrative permission.

Syntax

ISCurrentUserPermissions.AllowDirect(permissionKey, [denyIfPermissionKeyMissing])

Parameters

NameTypeOptionalByRefDescription
permissionKey String The Key of the Permission to check.
denyIfPermissionKeyMissing Boolean Optional By default, if the Permission Key is missing, e.g., a User Defined Permission does not exist, this method will return True. Use this option to return False if the Permission Key is missing. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating whether the Permission is allowed or not.

Member of:
ISCurrentUserPermissions
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0