You are here

Specifying the current user

When making an Alfresco REST API call, your application might not know the user ID of the currently authenticated user. You can use the string -me- to represent that user in request URLs, and PUT and POST request bodies.

For example, assuming the currently authenticated user is the following URL will return a list of site memberships for the currently authenticated user:

Using the current user -me-, the following URL will return the same list of site memberships:

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.