create

abstract fun create(    email: String,     displayName: String?,     firstName: String?,     lastName: String?,     avatar: String?,     orgId: String?,     roles: List<PersonRole> = emptyList(),     licenses: List<String> = emptyList(),     siteUrls: List<String> = emptyList(),     handler: CompletionHandler<Person>)

Create people in the authenticated user's organization. Only admins are able to use this function

Since

1.4.0

Parameters

email

: Email address of the person.

displayName

: Full name of the person.

firstName

: firstName name of the person.

lastName

: lastName name of the person.

avatar

: URL to the person's avatar in PNG format.

orgId
  • ID of the organization to which this person belongs.

roles

: Roles of the person.

licenses

: Licenses allocated to the person.

siteUrls

: One or several site names where this user has a role (host or attendee)

handler

: A closure to be executed once the request has finished.