Get user list from SharePoint unique permission listMRM Rao8yAsked Jul 16, 2018, 1:46 AM EDT5 answersShareLinkedInXCopy linkSaveHi Team, in my sharepoint site i have one list with unique permission , how to get all uses list from list using server sid object model .
Get user list from SharePoint unique permission listMRM Rao8yAsked Jul 16, 2018, 1:46 AM EDT5 answersShareLinkedInXCopy linkSaveHi Team, in my sharepoint site i have one list with unique permission , how to get all uses list from list using server sid object model .
Nanddeep NachanRank #38 · 35.2K reputation8y agoPosted Jul 16, 2018, 5:35 AM EDT+1In your code use SPSecurity.RunWithElevatedPrivileges to return all users irrespective of user permissions SPSecurity.RunWithElevatedPrivileges(delegate() { //New SPSite object. using (SPSite site = new SPSite(web.Site.ID)) { //Do things by assuming the permission of the "system account". } }); +1
Rajkiran SwainRank #165 · 14.4K reputation8y agoPosted Jul 24, 2018, 3:16 AM EDT0You should use RunWithElevatedPrivileges to fetch the records from Unique list .0
Nanddeep NachanRank #38 · 35.2K reputation8y agoPosted Jul 24, 2018, 9:44 PM EDT0Worthwhile to mention that SPSecurity.RunWithElevatedPrivileges is available with C# and PowerShell. JavaScript (JSOM) and CSOM does not support this API. 0
Rajkiran SwainRank #165 · 14.4K reputation8y agoPosted Jul 25, 2018, 3:29 AM EDT0Yes Naddeep . It doesn't support in JSOM and CSOM but he has mentioned about Server object model .0
Manpreet SinghRank #15 · 50.7K reputation8y agoPosted Jul 30, 2018, 11:01 AM EDT0Here is the code Syntax: Know the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nanddeep NachanRank #38 · 35.2K reputationPosted Jul 16, 2018, 5:35 AM EDT
Rajkiran SwainRank #165 · 14.4K reputationPosted Jul 24, 2018, 3:16 AM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Jul 24, 2018, 9:44 PM EDT
Rajkiran SwainRank #165 · 14.4K reputationPosted Jul 25, 2018, 3:29 AM EDT
Manpreet SinghRank #15 · 50.7K reputationPosted Jul 30, 2018, 11:01 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts