English 中文(简体)
Multi valued profile property mapping to AD in Sharepoint
原标题:

I m trying to map my skills and responsibilities profile sections to one of the custom properties in Active Directory (extensionattribute1 , 2, etc). I m entering comma seperated values in AD and it s importing the values fine but sees the comma seperated values as one value on import. i.e. C#,asp.net,javascript rather than C# , asp.net , Javascript .

Any ideas. I m almost there it s just not spliting the values correctly on import.

thanks in Advance

问题回答

I don t think you can just put a CSV string into an AD property and have SharePoint treat this as a multi valued property. This is because the AD property is still classified as a single valued property. Some AD properties are actually/inherently multi-valued, which wouldn t require the use of any CSV construct to input the multiple values into AD. I believe if the AD property is multi-valued, then SharePoint can import this into a SharePoint multi-valued property. Otherwise you ll have to run some custom code in a timer job or something that would parse out the CSV components of the AD property and update the user s profile directly via the SharePoint object model.

This page explains the difference between single and multi valued AD properties:

If you have these values in an external database, you can use those as a secondary data source using Business Data Catalog (BDC).

You could map your data as either 1:1 mapping or 1:many

Heres an example http://www.toddbaginski.com/blog/archive/2009/03/08/45.aspx





相关问题
Using JavaScript to get an LDAP multi-valued string attribute

I am trying to retrieve an object attribute in Active Directory that appears to be a multi-valued string (See canonicalName). After performing a search: var conn; conn.Open = Provider=ADsDSOObject; ...

Test "User Must Change Password" field in .Net 3.5

I m trying to perform some basic AD User managment tasks in C# using .Net 3.5 I ve got a System.DirectoryServices.AccountManagement.UserPrincipal object that contains the user details. I can call ...

SSIS Script Task connecting to AD

I have written a SSIS 2005 script task that connects to Active Directory and reads user accountnames to store in database. I was able to successfully test this on my local system by executing dtexec....

Update Full Name in Active Directory

I ve been thrust into the deep end with Active Directory (I m a web developer, go fig) I have a user that I ve changed first/last name on but the Full Name hasn t changed which is causing issues with ...

Authenticate against Active Directory/ISA from php [closed]

I have a complicated problem, exacerbated by the fact I don t really know where to start! Over the last few years, I ve developed a number of php web-based systems. When I built them, our network was ...

热门标签