This returns the IBM Connections user's UUID:
ProfileService profileService = new ProfileService();
connectionsUuid = profileService.getProfile(emailAddress).getId();
If the String emailAddress
contains an @
, it searches by email address, otherwise, it searches by username, so these would return the same UUID for the IBM persona "Frank Adams":
connectionsUuid = profileService.getProfile("fadams@demos.ibm.com").getId();
connectionsUuid = profileService.getProfile("fadams").getId();