CanDelete(IChangeSet, IUser):Boolean

Checks whether the indicated user may, in the indicated ChangeSet, delete the data object.

This method checks the permissions for a user in a ChangeSet for the current data object. It is of no importance for the currently executing user what context he is in at this time. The executing user can be in the Productive Environment as well as in a ChangeSet.

Return type: System.Boolean

Parameter

context

Type: Onion.Client.IChangeSet

This parameter indicates the ChangeSet for which the permission of the data object is to be checked.

user

Type: Onion.Client.IUser

This parameter indicates the user for whom the permission is to be checked.