跳到主要内容

PortalUserDto

A portal account in the format the portal stores it. Returned where the API has always handed out the stored record; new endpoints return ASC.Web.Api.Models.EmployeeDto instead.

NameTypeDescriptionNotes
idUUID (uuid)The user ID.[optional] [example: 00000000-0000-0000-0000-000000000000]
firstNameStringThe user's first name.[optional] [example: John] [nullable]
lastNameStringThe user's last name.[optional] [example: Doe] [nullable]
userNameStringThe user username.[optional] [example: johndoe] [nullable]
birthDateDate (date-time)The user birthday.[optional] [example: 1990-01-01T00:00:00Z] [nullable]
sexBooleanThe user sex (male or female).[optional] [example: true] [nullable]
statusEmployeeStatusThe user status.[optional] [enum: 1, 2, 4, 5, 7]
activationStatusEmployeeActivationStatusThe user activation status.[optional] [enum: 0, 1, 2, 4]
terminatedDateDate (date-time)The date and time when the user account was terminated.[optional] [example: 2025-12-31T23:59:59Z] [nullable]
titleStringThe user title.[optional] [example: Manager] [nullable]
workFromDateDate (date-time)The user registration date.[optional] [example: 2020-01-15T00:00:00Z] [nullable]
emailString (email)The user email address.[optional] [example: john.doe@example.com] [nullable]
contactsStringThe list of user contacts in the string format.[optional] [example: skype:johndoe|telegram:@johndoe] [nullable]
contactsListListThe list of user contacts.[optional] [example: [skype:johndoe, telegram:@johndoe]] [nullable]
locationStringThe user location.[optional] [example: New York, USA] [nullable]
notesStringThe user notes.[optional] [example: Additional information about the user] [nullable]
removedBooleanSpecifies if the user account was removed or not.[optional] [example: false]
lastModifiedDate (date-time)The date and time when the user account was last modified.[optional] [example: 2025-02-08T10:30:00Z]
tenantIdInteger (int32)The tenant ID.[optional] [example: 1]
isActiveBooleanSpecifies if the user is active or not.[optional] [example: true]
cultureNameStringThe user culture code.[optional] [example: en-US] [nullable]
mobilePhoneStringThe user mobile phone.[optional] [example: +1234567890] [nullable]
mobilePhoneActivationStatusMobilePhoneActivationStatusThe user mobile phone activation status.[optional] [enum: 0, 1]
sidStringThe LDAP user identifier.[optional] [example: S-1-5-21-3623811015-3361044348-30300820-1013] [nullable]
ldapQoutaLong (int64)The LDAP user quota attribute.[optional] [example: 1073741824]
ssoNameIdStringThe SSO SAML user identifier.[optional] [example: johndoe@example.com] [nullable]
ssoSessionIdStringThe SSO SAML user session identifier.[optional] [example: _1a2b3c4d5e6f7g8h9i0j] [nullable]
createDateDate (date-time)The date and time when the user account was created.[optional] [example: 2020-01-15T00:00:00Z]
createdByUUID (uuid)The ID of the user who created the current user account.[optional] [example: 00000000-0000-0000-0000-000000000000] [nullable]
spamBooleanSpecifies if tips, updates and offers are allowed to be sent to the user or not.[optional] [example: false] [nullable]
checkActivationBooleanSpecifies whether the account still has to be activated: the opposite of isActive.[optional] [example: false]