All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IsGrantedExtensions.CanNavigate Method

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