Skip to main content

User

No description

type User implements IBaseUser {
userId: Int!
debtorId: String
gender: Gender
firstName: String!
middleName: String
lastName: String!
phone: String
mobile: String
email: String
login: String
iban: String
bankAccount: String
bic: String
notes: String
primaryLanguage: String
expires: DateTime
externalId: String
dateOfBirth: DateTime
mailingList: YesNo
isLoggedIn: Boolean
createdAt: DateTime
lastModifiedAt: DateTime
taxNumber: String
cocNumber: String
loginRoot: Int
company: String
managedCompanies: [Company!]
}

Fields​

User.userId ● Int! non-null scalar​

The unique identifier of the user.

User.debtorId ● String scalar​

The debtor ID of the user.

User.gender ● Gender enum​

The gender of the user.

User.firstName ● String! non-null scalar​

The first name of the user.

User.middleName ● String scalar​

The middle name of the user.

User.lastName ● String! non-null scalar​

The last name of the user.

User.phone ● String scalar​

The phone number of the user.

User.mobile ● String scalar​

The mobile number of the user.

User.email ● String scalar​

The email of the user.

User.login ● String scalar​

The login name (email) the account is linked to, generally the same as email address. When null a account has not been linked yet.

User.iban ● String scalar​

The International Bank Account Number of the user

User.bankAccount ● String scalar​

The Bank Account Number of the user

User.bic ● String scalar​

The Bank Identification Code of the user

User.notes ● String scalar​

Notes about the user.

User.primaryLanguage ● String scalar​

The primary language of the user

User.expires ● DateTime scalar​

The expiration date of the contact. After this date expires contact will be disabled.

User.externalId ● String scalar​

External ID

User.dateOfBirth ● DateTime scalar​

The date of birth of the contact.

User.mailingList ● YesNo enum​

Whether the user is subscribed to mailing list.

User.isLoggedIn ● Boolean scalar​

Whether the user is currently logged in.

User.createdAt ● DateTime scalar​

The creation date of this user.

User.lastModifiedAt ● DateTime scalar​

The last modified date of this user.

User.taxNumber ● String scalar​

The Tax number of the user.

User.cocNumber ● String scalar​

The CoC number of the user.

User.loginRoot ● Int scalar​

The propeller access root for this user. Users with a login root can log into the backoffice and have a supervisor role on the api's

User.company ● String scalar​

The company of the user.

User.managedCompanies ● [Company!] list object​

Companies managed by the user.

Interfaces​

IBaseUser interface​

Interface for the BaseUser Type, where both Contacts and Customers derive from