SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to get roles for current user(like visitors,contributors,administrators etc.) from sharepoint 2010. I am using Silverlight client object model to deal with sharepoint 2010 API.

Kindly share your knowledge.

thanks & regards

share|improve this question

Here is a sample code to get the groups in Silverlight app by calling the GetGroupCollectionFromUserAsync method of UserGroup.asmx web service.

share|improve this answer

Why don't you explore possibilities of SharePoint Web services? I think you can reach your goal much easier by using web services then by using Client Object Model.

Take a look at UserGroup Web Service and its method UserGroup.GetRoleCollectionFromUser Method. I believe this method to be exactly what are you looking for.

Here you can find one example:

And here is explanation how to consume SharePoint Web Services from Silverlight:

share|improve this answer
Thanks vedran, i just came back here . i achieved user permission level with the help of RoleAssignmentCollection, RoleDefinitionCollection. – palak bhansali Sep 20 '11 at 7:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.