MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

How to find a Picture column value

  Asked By: Kiara    Date: Oct 08    Category: MOSS    Views: 1030

How to find a Picture column value from UserInfo Table in a content DB in MOSS.



1 Answer Found

Answer #1    Answered By: Mark Davis     Answered On: Oct 08

Not from User Info table  but from the user profile:
Following sample in a console app should help:

ServerContext oContext = ServerContext.Default;
UserProfileManager upManager = new UserProfileManager(oContext);

foreach (UserProfile cUser in upManager)

Now the above is for MOSS where we have global profiles but if you are looking at WSS then the profiles are site collection scoped and stored in user information list that is hidden and you can loop thru it programmatically as explained in this blog:

Didn't find what you were looking for? Find more on How to find a Picture column value Or get search suggestion and latest updates.