All Questions
1 question
1
vote
1
answer
417
views
SPContext.Current.Web.CurrentUser returns wrong user (Broken user database?)
This code snippet is used to Break Role Inheritance on a Document Library and set the current user as the only user who has "Read" priviliges on that Library:
SPUser oUser = SPContext....