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.
display Name
: Full name of the person.
first Name
: firstName name of the person.
last Name
: lastName name of the person.
avatar
: URL to the person's avatar in PNG format.
org Id
ID of the organization to which this person belongs. (Derived parameter: Use MembershipClient.list to get the list of members. Then use Membership.personOrgId to get the orgId of the member)
roles
: Roles of the person.
licenses
: Licenses allocated to the person.
site Urls
: 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.