Skip to main content
.NET 6.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, 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(SecurityStrategy, IPermissionPolicyRole, Type) static security, targetRole, type 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.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole) static security, targetRole Checks whether the specified role allows deleting objects of the specified type.