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

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