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

IsGrantedExtensions.CanNavigateByRole Method

Name Parameters Description
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String, Object) static security, targetRole, itemPath, targetObject Gets the target object’s type and checks whether the specified role has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String, Type, Object) static security, targetRole, itemPath, type, targetObjectKey Checks whether the specified role allows navigation to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String, Type) static security, targetRole, itemPath, type Checks whether the specified role allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String) static security, targetRole, itemPath Checks whether the specified role allows navigation to the specified item.
CanNavigateByRole<T>(SecurityStrategy, IPermissionPolicyRole, String, Object) static security, targetRole, itemPath, targetObjectKey Checks whether the specified role allows navigation to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole<T>(SecurityStrategy, IPermissionPolicyRole, String) static security, targetRole, itemPath Checks whether the specified role has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.