Skip to main content

Get a user

GET 

/users/:username

Returns one user.

This is not an expanded form of what GET /users lists. That endpoint answers with Prism's own four-field summary; this one answers with the directory's representation of the user, under different field names. Code that consumes both needs to handle two shapes.

The body of this response is the directory's own administrative user representation, passed through unmodified. Prism does not map it to a shape of its own, so its exact field set depends on the version and the configuration of the directory behind your deployment, and additional fields may be present that are not listed here. Treat the response as sensitive: do not log it, and read only the fields you need.

Request​

Responses​

The user.