Thursday, May 31, 2012

Configuring the User Profile Service in SharePoint 2010 {P2}
[User Profile Service Property Map with Active Directory Attributes]


In my previous post I explain, what is call "User profile Service" in SharePoint and what are the advantages and disadvantages, and most importantly "how we can sync it with our Active Directory (AD) " . so I when i publish that post I got some feedback from some of my colleagues. and also they asked one question which I thought it's good to share with you through another post.  


How to map User profile properties with Active Directory attribute ?? Why we need to do that ??


Ok, Let's start with second question. before jump into the technical part. Why we need to map properties with AD attribute. Thing is imagine when you firstly configure and Sync AD with SharePoint user profile service. you can see many of field get map with AD profile attributes. but not all. so then we need to map them again. and sync it. to do that you don't need to delete all service instance and recreate it again. instead of that you can simply map them separately . and another reason is, imagine that you have introduce new attribute to the AD and you hav already Sync AD with User profile service then surely, that newly create attribute has not been mapped with UPS. to overcome these kind of situations you need to know how to map it.  


How To Do That ??



If we need to add more properties and map it with AD fields, so this section Explain the basic steps with required screen attachments.
First Go to Central Administration>Application Management>User Profile Service> then click on Manage User Properties under the People section. 

Then you will See all the fields which currently existing and what are the fields which already mapping with AD Fields.


If you need to add new property and Map it with AD field the click on New Property.


Then Fill the Required Fields. In drop down select the AD field which you need to Map with.




Then clicks on Add, then you can see the filed get mapped.

Once you click ok, You can see the new property got added and you can access it programmatically using its Name (not the display Name).

ok That's It ... 
HAPPY CODING

No comments:

Post a Comment