I’m using the user management component, and I am wanting to run some script in the onCreateUser extension function that needs access to the username field of the new user. Is there a way to access this value during the creation process?
I realized that the onCreateUser ext function happens before any information has been entered. I guess I will have to use the onSaveUser, and somehow determine if the user is new or already existed.
I figured it out. I’m creating tags in association to the users. I will use system.tag.exists(), to check and see if the user that is being saved exists. If not, then the user is new and I will run the code to generate their tags. 