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

Name Parameters Description
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object) static security, targetRole, objectSpace, targetObject For internal use.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Object) static security, targetRole, targetObject Checks whether the specified role allows deleting the specified object.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Type) static security, targetRole, type Checks whether the specified role allows deleting objects of the specified type.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Type, IObjectSpace, Object) static security, targetRole, type, objectSpace, targetObjectKey Checks whether the specified role allows deleting an object with the specified key.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Type, Object) static security, targetRole, type, targetObjectKey For internal use.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole) static security, targetRole Checks whether the specified role allows deleting objects of the specified type.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object) static security, targetRole, objectSpace, targetObjectKey Checks whether the specified role allows deleting an object with the specified key.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole, Object) static security, targetRole, targetObjectKey For internal use.