IAppContextHasPermission Method |
Returns true if the specified object "has" the specified
ObjectPermissions. If the object has no assigned permisions,
the return value is true.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax bool HasPermission(
string objectID,
string objectType,
ObjectPermissions permission
)
Function HasPermission (
objectID As String,
objectType As String,
permission As ObjectPermissions
) As Boolean
Parameters
- objectID
- Type: SystemString
The object ID - objectType
- Type: SystemString
The type of object - permission
- Type: NetQuarryObjectPermissions
The permission to check
Return Value
Type:
BooleanTrue if the object has the permission, false otherwise
See Also