Tuesday, 23 June 2015

How to check if user has Read Permission on Given Item

  User u = Sitecore.Context.User;

 bool isAllowed = AuthorizationManager.IsAllowed(contextItem, AccessRight.ItemRead, u);

No comments:

Post a Comment