Determines whether a Permission is allowed or not.

<para> If the User is an administrator then this method always returns True. It also returns True if an invalid or missing Permission Key is specified. </para> <para> Roles that are not Active will be ignored. </para>

Syntax

finUserRO.PermissionAllow(permissionKey, allow, [affectingRoles])

Parameters

NameTypeOptionalByRefDescription
permissionKey String The Key of the Permission to check.
allow Boolean ByRef A Boolean value indicating whether the Permission is allowed or not.
affectingRoles String Optional ByRef The Roles that deny this permission.

Return Value

Boolean
Member of:
finUserRO
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0