Click here to Skip to main content
16,017,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,
I am implementing a SPGridView in sharepoint 2013 as a visual web part. Reading a document list and binding it's data to spgridview now the issue that i want to resolve is :
I am using form based authentication for my web application. when a system admin login then he would be able to see documents uploaded with all operations specified for that document list but when a user other than system admin login to site then he just can see documents uploaded to that doc list no operations should be able on that web part.
the problem is when i delete my site members in permission settings of that document library from where I'm reading my data and bind to gridview and login as other users instead admin then it's not showing me spgridview data because i have delete the members those have permissions to that doc library and most importantly not showing home page saying that this site has not shared with you.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900