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.
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.

Example response:

    "id": "07ec4ac1-457c-4ad8-a00c-819cf7beecea",
    "name": "John Doe",
    "username": "JohnDoeUsername",
    "email": "",
    "phoneNumber": "+321123456789",
    "roles": [
    "officeCode": "basecone",
    "iban": "NL99123456789",
    "employeeId": "1",
    "creditCard": 12345