Could anyone possibly share me your understanding on the difference between UserController.GetUser(PortalId*,UserId*, true/false) and UserController.GetCurrentUserInfo(). Can I use them interchangeably?
*Provided that PortalId and UserId are the properties of PortalModuleBase
Thanks.
Here are the two methods that you are referring to from the source code of the current version 5.4.2. From what I can see, the diffs are
1) GetUser is Deprecated
2) GetUser appears to manually hydrate the roles, the notes suggest that single users are automatically hydrated
here is the old method
and here is the new method
is that any help?
thanks
Mark Breen
Ireland
1987 BMW R80GS