Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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....
spn's user avatar
  • 63