Is it possible to get all properties using userID?

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.

This forum is for discussing mojoPortal development

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.

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.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/6/2014 4:25:16 AM
Gravatar
Total Posts 1

Is it possible to get all properties using userID?

Hi,

   I want to get

all properties name and its value using UserID/User Guid from mp_userproperties.

  Is It Possible?

Thanks & Regards,

Nevil Doshi

 

11/6/2014 12:13:00 PM
Gravatar
Total Posts 18439

Re: Is it possible to get all properties using userID?

if you're a developer you can query the table right? of course it is possible

11/6/2014 12:14:52 PM
Gravatar
Total Posts 2253

Re: Is it possible to get all properties using userID?

Hello,

Yes, you need to use the SiteUser class (found in mojoPortal.Business\SiteUser.cs).

SiteUser siteUser = new SiteUser(siteSettings, userID);

or

SiteUser siteUser = new SiteUser(siteSettings, userGuid);

See LoadSettings method in ProfileView.aspx.cs for more examples on using SiteUser.

HTH,
Joe D.

11/11/2014 2:11:38 AM
Gravatar
Total Posts 1

Re: Is it possible to get all properties using userID?

Thanks both Joe for reply

I got my solution as per your suggestion.

Thanks & Regards,

Nevil Doshi

You must sign in to post in the forums. This thread is closed to new posts.