You can use spUser object to find the required user from Users collection of a site.
Instantiate a UserProfileManager object and assign the UserProfile by executing profileManager.GetUserProfile method.
The profile collection has a tag "Manager", retrieving that Value will give you the result.
No comments:
Post a Comment