Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

WebsydianExpress - Callback Point


UserAfterCreate

Type

Site specific callback point implemented by the WebsydianExpress administration interface.

When is the callback point called

UserAfterCreate is called immediately after the user has been created using the user maintenance in the administration interface.

Please not that this is not called by the APIWebServer.UserCreate API, it is only an extension to the functionality of the administration interface.

How does the callback point influence later functionality

The callback functions for this callback point has no influence on the subsequent functionality.

Errors returned in *Returned Status are disregarded by the callback point.

Example of use

When you create a user using the administration interface, no roles are assigned to the user.

If you have a role that you want to assign to all the users you create, use the APIServer.User.AddRole API to add the role to the user.

This way you can ensure that all created users as a minimum has this role assigned, and if the user should have no special roles, you can skip the role assignment for the user.

You can also use this callback point to automatically create a corresponding user in your own systems if you need to have corresponding user registrations in other systems.

Abstract callback function

Inherit from Callback.WebServer.UserAfterCreate.AbstractCallbackFunction to create a callback function that can be called by this callback point.

CallbackInput

This local variable contains:

This field will be populated automatically by the callback function. Use the value of the field as you would use a normal input field.