views:

160

answers:

2

Hi!

How can I check if a random user (not the current user, I know only his/her username) has certain permissions on a specific SharePoint list item, list etc.?

Best Regards
Oliver Hanappi

PS: I'm accessing SharePoint by its web services.

A: 

Can´t you use DoesUserhavePermissions() with the specified token?

Johan Leino
Oh, sry, I forgot to mention that I'm retrieving list items by Sharepoint webservices!
Oliver Hanappi
+1  A: 

I don't think you can, you should write your own webservice that does a DoesUserhavePermissions check on the specified item for the specified user. Then deploy the webservice to sharepoint...

Colin
This would be so useful... CODEPLEX!
Kit Menke
Hmm, good idee, i might slap one together this week.
Colin
Is there a CodePlex project that adds the functionality missing from the existing web services? Because there damn well should be!
Alex Angas

related questions