How can I modify the User Name of a user via REST API or XOG?
REST API:
PATCH http(s)://<hostname:port>/ppm/rest/v1/users{"d":[{"userName":"newUserName","_internalId":5000001}]}You can find the Internal ID in Classic Administration > Organization and Access > Resources > [user], then look at the URL:
http(s)://<hostname:port>/niku/nu#action:nmc.openUser&id=5000001&resourceId=5123456
XOG:
cmn_users_read.xml file as template).<NikuDataBus [...]> <Users> <User externalId=" " isLDAP="false" oldUserName="userName" uiThemeDefaultPartitionCode=" " userLanguage="English" userLocale="en_US" userName="newUserName" userStatus="ACTIVE" userTimezone="America/New_York" userType="INTERNAL" userUid="userName">[...] </Users>[...]</NikuDataBus>KB 24124: Is it possible to change a Resource ID?