IsGrantedExtensions.CanNavigate(IRequestSecurityStrategy, String, Object) Method
Checks whether the current user can navigate to the specified item.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.Security.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
Parameters
Name | Type | Description |
---|---|---|
security | IRequestSecurityStrategy | An object that specifies the application’s security strategy. |
itemPath | String | The path to the navigation item. |
targetObject | Object | The target object to check. |
Returns
Type | Description |
---|---|
Boolean |
|
Remarks
Use this method in applications with the obsolete Deny Permission Policy only. In applications with the Allow/Deny Permission Policy, use the CanNavigate(IRequestSecurityStrategy, String) overload.
See Also