CanApprove(IUser):Boolean

Checks whether the indicated user may release the ChangeSet.

The indicated user may publish or discard 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.
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 CanApprove() can be called as an alternative.