Get userIdentifier

Details

URI /login/<organization_name>/<user_name>/
    Where <organization_name> is the desired organization name and <user_name> is the desired user name in that organization, to generate a user identifier.
Method GET
Returns 200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception

Note Unlike most API calls, the arguments (organization name and user name) are part of the URL path rather than parameters.

Caution If the trailing slash is not included, a portion of the user name might be truncated when the user name includes non-alphanumeric characters. The best practice is to always include a trailing slash.

Example

To get the userIdentifier, we used the following URL:

https://<host>:<port>/csa/rest/login/MyOrganization/admin/

The following XML was returned in the response:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<person>
    <id>90s96588670da0c701360da0f1d540a1</id> <!-- This is userIdentifier -->
    ... <!-- Remaining XML is not relevant for this example. -->
</person>

The value for userIdentifier is the first <id> value returned in the XML.