IUserManager.CreateExternalUser Method
Creates a user that is provisioned from an external (upstream) identity, relaxing the local identifier-presence requirements.
Remarks
Unlike CreateUser, this method does not require the user to have a value for the fields the application would otherwise mandate (TUserOptions.RequireEmail and the like): such a user is identified by its linked external login, not by a local identifier or credential. All other validation still applies -- any value that is present must be well-formed and unique. The presence requirement is instead enforced at login time, when the user is prompted to supply the missing required fields (see TLoginOptions.CheckRequiredProfileOnLogin).
Syntax
Unit: Sphinx.UserManager
procedure IUserManager.CreateExternalUser(User: TUser); virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| User | TUser | The user to create. |