CanModify(IUser):Boolean

Checks whether the indicated user may edit the ChangeSet.

The indicated user may edit the ChangeSet if

  • he is the creator of the ChangeSet,
  • he has the role of user manager or administrator or
  • he is a member in a group which has this permission.

The name and the status of the ChangeSet can be edited with the permission.

Return type: System.Boolean

Parameter

user

Type: Onion.Client.IUser

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

If the permission for one's own user is to be checked, then the method CanModify() can be called as an alternative.