Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SecurityStrategy.IsGranted Method

Name Parameters Description
IsGranted(IPermissionRequest, IPermissionPolicyRole) permissionRequest, targetRole Checks whether the specified role allows a user to make an operation.
IsGranted(IPermissionRequest, IPermissionPolicyUser) permissionRequest, targetUser Checks whether the specified operation is allowed for the target user.
IsGranted(IPermissionRequest) permissionRequest Checks whether the specified operation is allowed.
IsGranted(IList<IPermissionRequest>) permissionRequests Checks whether the specified operations are allowed.