TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gowtham
NA
516
40.4k
To retrieve user level permission for List/Library using COM
Feb 21 2017 3:27 AM
Based on list name I have to get permission level for users.
Eg:
administrator- Full control
user1-View only
user2-Read only. etc.
So for tried:
List myList = ctx.Web.Lists.GetByTitle("mylist");
roles = ctx.LoadQuery(
myList.RoleAssignments.Include(
roleAsg => roleAsg.Member,
roleAsg => roleAsg.RoleDefinitionBindings.Include(
roleDef => roleDef.Name, // for each role def, include roleDef’s Name
roleDef => roleDef.Description,
roleDef => roleDef.RoleTypeKind,
roleDef => roleDef.BasePermissions)));
Reply
Answers (
0
)
Nested Gridview using splist2
Not able to Unfollow sites that were followed prior to ADFS