Extended User Class

If you extend the user class with an inherited TUser and set the user class

SphinxConfig1.UserClass := TsmxUser;

Will the standard methods such as


return the extended class (although you would have to cast it I assume)?

User := TsmxUser(Context.UserManager.FindByName('AUSERNAME'));

and could Context.UserManager.CreateUserInstance be used in the same way?


The answer is yes.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.