Current User

Retrieve user details from Basecone.

GET users/currentUser?fields=settings

Request properties

Property Type Description Optional
fields Array Optional fields to retrieve. Yes

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.
IBAN String The user personal IBAN.
EmployeeId String The user Id for his company.
CreditCard Int The user last 5 digits for his personal Credit Card.
Settings Complex object User settings

Example response:

{
    "id": "07ec4ac1-457c-4ad8-a00c-819cf7beecea",
    "name": "John Doe",
    "username": "JohnDoeUsername",
    "email": "johndoe@email.com",
    "phoneNumber": "+321123456789",
    "roles": [
        "SuperUser",
        "Accountant"
    ],
    "officeCode": "basecone",
    "iban": "NL99123456789",
    "employeeId": "1",
    "creditCard": 12345,
    "settings" :{
          "canEditBankAccount": false,
          "canViewAllDocumentsArchive": false
        }
}