Skip to main content
Skip table of contents

User aliases [VC 21.3.1 GEN]

User aliases can be used to assign multiple usernames to a single user. These additional usernames are called aliases. Use aliases to for example allow a user to authenticate using either the users username or e-mail address.

Aliases are only ever looked up during authentication, and can not be used as a substitute for the usernames. In this way, user aliases are different to external ids.

Managing aliases

Create an alias

PUT /user/(username)/alias/(name)

Adds a new user alias for the specified user.

Status Codes:
  • 409 Conflict – The alias is already used by another user.

Role:

_administrator

Example

NONE
PUT /user/stephen/alias/stephen@example.com
NONE
200 OK
NONE
GET API/user/stephen
HTML/XML
<UserDocument xmlns="http://xml.vidispine.com/schema/vidispine" disabled="false">
  <userName>stephen</userName>
  <realName>Stephen</realName>
  <alias>stephen@example.com</alias>
</UserDocument>

Delete an alias

DELETE /user/(username)/alias/(name)

Removes the specific user alias.

Role:

_administrator

Example

NONE
DELETE /user/stephen/alias/stephen@example.com
NONE
200 OK
NONE
GET API/user/stephen
HTML/XML
<UserDocument xmlns="http://xml.vidispine.com/schema/vidispine" disabled="false">
  <userName>stephen</userName>
  <realName>Stephen</realName>
</UserDocument>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.