|
SecurityProviderUtilityIsResourceAccessible Method
|
Determines if the current user, as defined by the principal, has permission to access
the specified resource based on settings in the config file.
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.218-beta
Syntax GSF.Security.SecurityProviderUtility.IsResourceAccessible = function(resource, principal);
View SourceParameters
- resource String
- Name of the resource to be checked.
- principal IPrincipal
- The principal providing the security context for the user.
Return Value
Booleantrue if the current user has permission to access the
resource; otherwise false.
See Also