This is a migrated thread and some comments may be shown as answers.

User|GroupPicker for SharePoint 2010

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Norvin
Top achievements
Rank 1
Norvin asked on 19 Aug 2010, 11:37 AM
Hi.

I'm fairly new to both SharePoint 2010 and Silverlight, but now need to put together some UIs for creating/editing items in some complicated SharePoint 2010 lists. Many things are easy with the wonderful Silverlight tools from Telerik, but I'm unsure how to implement a control similar to the SharePoint PeoplePicker.

I also need to test somehow whether the current SharePoint user is member of an AD security group.

Any suggestions/help on either of these would be appreciated.
Thanks

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 26 Aug 2010, 05:56 PM
Hello Norvin,

I am sorry for the delayed reply!

The people picked does not have hard to recreate UI but its functionality is a little bit harder to match. There are some articles about extending it:

http://sjoere.blogspot.com/2010/01/custom-peoplepicker-with-security.html

but most of them make use of it on the server side.

What you need is a web service that will return the information about users / groups in a consumable way (almost any web service will do).

It seems that you may need to use the AD web services which come with Win Server 2008 R2:

http://trycatch.be/blogs/roggenk/archive/2010/01/14/active-directory-web-services-adws-and-active-directory-management-gateway-service-admgs.aspx

http://technet.microsoft.com/en-us/library/dd391908(WS.10).aspx

Accessing them needs the client to be authenticated, which most probably means that the user should have authenticated before accessing the Silverlight application and the app should use the browser http stack (so it will not work in OOB). Looking at the service, it seems that it is aimed more at admins than users, so you should be careful about exposing it.

Another option is to build the web service yourself so that it will expose just enough data. This will be as simple as using RIA / WCF methods and querying the AD service on the server side about the information you need.

Regards,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Norvin
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or