Integration Server 10.3 | Built-In Services Reference Guide | VCS Folder | Summary of Elements in this Folder | pub.vcs.admin:setCurrentUser
 
pub.vcs.admin:setCurrentUser
WmVCS. Deprecated - Use the local service development feature (Local Version Control Integration) to check package elements and their supporting files into and out of a version control system (VCS) directly from Designer.
Associates a version control system (VCS) user account with the currently logged in the Designer user account. For information about restrictions on account association, see the Usage Notes.
Input Parameters
vcsName
String The name of an existing VCS user account on the VCS server.
vcsPassword
String The password of the VCS user account specified in vcsName.
Output Parameters
None.
Usage Notes
This service is available to all users. A Developer user name does not have to be the same as the associated VCS server user name, and all user account credentials are case-sensitive. Each Designer user can have one VCS user account associated with the Designer user account. Although it is possible for more than one Designer user to be associated with the same VCS user account, Software AG recommends that you avoid this configuration as it may result in errors or unpredictable results.
This service is for use with the VCS Integration feature only.
After running this service, the currently logged in Designer user account is associated with a user account on the VCS server, enabling the Designer user to check elements in to and out of the VCS repository (with proper ACL permissions). This association is maintained until it is removed with the pub.vcs.admin:removeCurrentUser or pub.vcs.admin:removeMultipleUsers services. This service does not validate, create, or modify VCS server accounts.