Skip to main content
.NET 6.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.