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.CanReadByRole Method

Name Parameters Description
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object, String) static security, targetRole, objectSpace, targetObject, memberName For internal use.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Object, String) static security, targetRole, targetObject, memberName Checks whether the specified role allows reading the specified object or this object's member.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Type, IObjectSpace, Object, String) static security, targetRole, type, objectSpace, targetObjectKey, memberName Checks whether the specified role allows reading an object with the specified key or this object's member.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Type, Object, String) static security, targetRole, type, targetObjectKey, memberName For internal use.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Type, String) static security, targetRole, type, memberName Checks whether the specified role allows reading objects of the specified type or these objects' members.
CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object, String) static security, targetRole, objectSpace, targetObjectKey, memberName Checks whether the specified role allows reading an object with the specified key or this object's member.
CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, Object, String) static security, targetRole, targetObjectKey, memberName For internal use.
CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, String) static security, targetRole, memberName Checks whether the specified role allows reading objects of the specified type or their member.