Person

public struct Person

Person contents. NOTE: roles,licenses and siteUrls is applicable for admin only and requires extra scopes spark-admin:people_read and spark-admin:people_write passed in at the time of creating OAuthAuthenticator object.

  • id

    The id of this person.

    Declaration

    Swift

    public var id: String?
  • The base64 encoded Id of the person. This Id can be directly used as input to the cloud Webex APIs

    Declaration

    Swift

    public var encodedId: String?
  • The emails of this person.

    Declaration

    Swift

    public var emails: [EmailAddress]?
  • The display name of this person.

    Declaration

    Swift

    public var displayName: String?
  • The URL of this person’s avatar.

    Declaration

    Swift

    public var avatar: String?
  • The timestamp that this person being created.

    Declaration

    Swift

    public var created: Date?
  • The nick name of person

    Since

    1.4.0

    Declaration

    Swift

    public var nickName: String?
  • The nick first name of person

    Since

    1.4.0

    Declaration

    Swift

    public var firstName: String?
  • The nick last name of person

    Since

    1.4.0

    Declaration

    Swift

    public var lastName: String?
  • The nick orgId of person

    Since

    1.4.0

    Declaration

    Swift

    public var orgId: String?
  • The nick type of person, default is “person”

    Since

    1.4.0

    Declaration

    Swift

    public var type: String?
  • The date and time of the person’s last activity within Webex

    Since

    2.3.0

    Declaration

    Swift

    public var lastActivity: Date?
  • The current presence status of the person

    Since

    2.3.0

    Declaration

    Swift

    public var status: String?
  • An array of role representing the roles to which this person belongs.

    Since

    3.6.0

    Declaration

    Swift

    public var roles: [PersonRole]
  • An array of license strings allocated to this person.

    Since

    3.6.0

    Declaration

    Swift

    public var licenses: [String]
  • One or several site names where this user has a role (host or attendee)

    Since

    3.6.0

    Declaration

    Swift

    public var siteUrls: [String]