IsGrantedExtensions.CanReadByUser(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object, String) Method
For internal use.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.Security.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
Parameters
Name | Type | Description |
---|---|---|
security | SecurityStrategy | A SecurityStrategy object that specifies an application’s Security Strategy. |
targetUser | IPermissionPolicyUser | An IPermissionPolicyUser object that is a user this method checks. |
objectSpace | IObjectSpace | An Object Space this method uses to get an object to check. |
targetObject | Object | An Object this method checks. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
memberName | String | null | A String that is a name of the targetObject‘s member this method checks. This parameter is optional. |
Returns
Type | Description |
---|---|
Boolean | true, if the specified user can read the specified object or its member; otherwise, false. |
See Also