getOrCreateUser()
Overview
public string function getOrCreateUser(
required string loginId
, struct data
)
Allows external services to create users on the fly if they do not already exist based on the loginId. Useful for single sign on extensions, for example.
Arguments
Name | Type | Required | Description |
---|---|---|---|
loginId | string | Yes | Login ID or email address with which to match any existing users in the system |
data | struct | No | Additional fields to set on the user when creating/updating existing user |