Skip to main content

IsGrantedExtensions.CanDelete Method

Name Parameters Description
CanDelete(IRequestSecurityStrategy, IObjectSpace, Object) static security, objectSpace, targetObject Checks whether the current user can delete the target object.
CanDelete(IRequestSecurityStrategy, Type, IObjectSpace, Object) static security, type, objectSpace, targetObjectKey Checks whether the current user can delete an object with the specified key.
CanDelete(IRequestSecurityStrategy, Type, IObjectSpace) static security, type, objectSpace Checks whether the current user can delete objects of the specified type.
CanDelete<T>(IRequestSecurityStrategy, IObjectSpace, Object) static security, objectSpace, targetObjectKey Checks whether the current user can delete an object with the specified key.
CanDelete<T>(IRequestSecurityStrategy, IObjectSpace) static security, objectSpace Checks whether the current user can delete objects of the specified type.