CanApprove():Boolean

Checks whether the current user may release the ChangeSet.

This method checks whether the user has the permission to publish or discard a ChangeSet.

A user receives this permission if

  • he is the creator of the ChangeSet,
  • he has the role of user manager or administrator
  • or the permission for the ChangeSet has been assigned in a group in which the user is a member.
Return type: System.Boolean