This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
I want to get
all properties name and its value using UserID/User Guid from mp_userproperties.
Is It Possible?
Thanks & Regards,
if you're a developer you can query the table right? of course it is possible
Yes, you need to use the SiteUser class (found in mojoPortal.Business\SiteUser.cs).
SiteUser siteUser = new SiteUser(siteSettings, userID);
SiteUser siteUser = new SiteUser(siteSettings, userGuid);
See LoadSettings method in ProfileView.aspx.cs for more examples on using SiteUser.
Thanks both Joe for reply
I got my solution as per your suggestion.