nicolas.juteau-nexun
-
10/4/2012 9:01:29 AM
RE:return type for CMS.SiteProvider.UserInfoProvider.SetUserInfo(user);
Hi Jeff,
As an alternative method, you could evaluate if user.UserIDis different than 0 after the call to UserInfoProvider.SetUserInfo(user).
However, like Radek just said, the best way for you to handle errors (and therefore know what went wrong) is enclosing the call into a try catch, then take the appropriate action depending on which exception is raised.
Cheers, Nicolas
|