views:

345

answers:

1

Hi all, may I know how can i retrieve user's permission rights from its userid and group name. Help urgently needed. Thanks in advance!

A: 

I'm the SharePoint PM responsible for permissions management

Permissions on what?

Anything that implements ISecurableObject (SPWeb, SPList, SPItem..) will expose 'RoleAssignments'. If you're just looking for a specific user's permissions you can use DoesUserHavePermissions to check for a specific mask

Kevin Davis