Current User

Retrieve user details from Basecone.

GET users/currentUser

User properties

Property Type Description
Id Guid The unique identifier of the user.
Name String The name of the office.
Username String The username of the user.
Email String The email of the user.
PhoneNumber String The phone number of the user.
Roles Array The roles of the user.
Modules Array The modules of the user.
OfficeCode String The office code of the user.

Example response:

{
    "id": "07ec4ac1-457c-4ad8-a00c-819cf7beecea",
    "name": "John Doe",
    "username": "JohnDoeUsername",
    "email": "johndoe@email.com",
    "phoneNumber": "+321123456789",
    "roles": [
        "SuperUser",
        "Accountant"
    ],
    "officeCode": "basecone"
}