UserContextHasPermission Method |
Returns true if the specified object "has" the permission. If the object has no assigned permisions,
the return value is true.
Namespace:
NetQuarry.Security
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public bool HasPermission(
IAppContext appCxt,
string objectID,
string objectType,
ObjectPermissions permission
)
Public Function HasPermission (
appCxt As IAppContext,
objectID As String,
objectType As String,
permission As ObjectPermissions
) As Boolean
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context object. - 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