Options
All
  • Public
  • Public/Protected
  • All
Menu

UserWithSecurity

Hierarchy

  • User
    • UserWithSecurity

Index

Constructors

constructor

Accessors

address

address:

Gets the user's address.

city

city:

Gets the user's city.

company

company:

Gets the user's company.

country

country:

Gets the user's country.

createdDate

createdDate:

Gets the user's created date.

deleted

deleted:

Indicates whether the user is deleted.

deletedDate

deletedDate:

Gets the deleted date of the user.

domain

domain:

Gets the user's domain.

email

email:

Gets the user's email address.

fullName

fullName:

Gets the user's full name.

inventory

inventory:

Set the inventory for user. Get the user companyInventory list.

json

json:

Gets the raw JSON object from the API.

locked

locked:

Indicates whether the user is locked out of their account.

phoneNumber

phoneNumber:

Gets the phone number of the user.

rolesCompanyMap

rolesCompanyMap:

Set the roles for user. Get a map of user Role by company ID.

state

state:

Gets the user's state.

userType

userType:

Gets the user type.

username

username:

Gets the user's username.

zip

zip:

Gets the user's zip code.

Methods

assignRole

  • assignRole(companyUuid: string, roleUuid: string): Promise<any>

batchInboxUpdate

delete

  • delete(): Promise<any>

deleteMessage

endAllActiveSessions

  • endAllActiveSessions(): Promise<any>

getAccountEvents

  • getAccountEvents(offset?: undefined | number, limit?: undefined | number, dateFrom?: undefined | number, dateTo?: undefined | number): Promise<Array<AccountEvent>>
  • Get the user account events.

    Parameters

    • Optional offset: undefined | number
    • Optional limit: undefined | number
    • Optional dateFrom: undefined | number
    • Optional dateTo: undefined | number

    Returns Promise<Array<AccountEvent>>

getActiveSessions

getCatalogs

  • getCatalogs(companyId: string, location?: undefined | string): Promise<Array<Catalog>>

getCloudTenants

  • getCloudTenants(companyId: string, location?: undefined | string): Promise<Array<CloudTenant>>

getCompanies

  • getCompanies(): Promise<Array<Company>>

getEdges

  • getEdges(companyId: string, location?: undefined | string): Promise<Array<Edge>>
  • Get the edges for a company and user.

    Parameters

    • companyId: string
    • Optional location: undefined | string

    Returns Promise<Array<Edge>>

getInventory

getInventoryInCompany

getMedia

  • getMedia(companyId: string, location?: undefined | string): Promise<Array<Media>>
  • Get the media for a company and a user.

    Parameters

    • companyId: string
    • Optional location: undefined | string

    Returns Promise<Array<Media>>

getMessage

getMessageHeaders

getOrgVdcNetworks

  • getOrgVdcNetworks(companyId: string, location?: undefined | string): Promise<Array<InternalNetwork>>

getOrgs

  • getOrgs(companyId: string, location?: undefined | string): Promise<Array<Org>>
  • Get the orgs for a company and user.

    Parameters

    • companyId: string
    • Optional location: undefined | string

    Returns Promise<Array<Org>>

getPicture

getRole

  • getRole(companyUuid: string): Promise<Role>

getRoles

  • getRoles(): Promise<Array<Role>>

getUnreadMessageCount

getVappNetworks

  • getVappNetworks(companyId: string, location?: undefined | string): Promise<Array<VappNetwork>>

getVappTemplates

  • getVappTemplates(companyId: string, location?: undefined | string): Promise<Array<VappTemplate>>

getVapps

  • getVapps(companyId: string, location?: undefined | string): Promise<Array<Vapp>>
  • Get the vApps for a company and user.

    Parameters

    • companyId: string
    • Optional location: undefined | string

    Returns Promise<Array<Vapp>>

getVccFailoverPlans

  • getVccFailoverPlans(companyId: string, location?: undefined | string): Promise<Array<VCCFailoverPlan>>

getVdcs

  • getVdcs(companyId: string, location?: undefined | string): Promise<Array<Vdc>>
  • Get the vDCS for a company and user.

    Parameters

    • companyId: string
    • Optional location: undefined | string

    Returns Promise<Array<Vdc>>

getVms

  • getVms(companyId: string, location?: undefined | string): Promise<Array<Vm>>
  • Get the VMs for a company and a user.

    Parameters

    • companyId: string
    • Optional location: undefined | string

    Returns Promise<Array<Vm>>

getVpgs

isPermittedTo

  • isPermittedTo(permissionType: PermissionType, entityUuid: string): boolean

markAllMessagesAsRead

markMessageAsRead

moveMessage

refresh

toString

  • toString(): string

unassignRole

  • unassignRole(companyUuid: string): Promise<any>

update

updatePicture

  • updatePicture(picture: JpegImage): Promise<any>

Static getCurrentUser

Static getUser

Static getUserWithSecurity

Static setup

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc