Basic Questions On Managing Users And Permissions in Sharepoint with C#

%3CLINGO-SUB%20id%3D%22lingo-sub-1235645%22%20slang%3D%22en-US%22%3EBasic%20Questions%20On%20Managing%20Users%20And%20Permissions%20in%20Sharepoint%20with%20C%23%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1235645%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20develop%20an%20application%20that%20will%20manage%20users%20and%20permissions%20on%20Sharepoint.%26nbsp%3B%20I%20don't%20want%20to%20add%20apps%20or%20parts%20to%20Sharepoint%2C%20just%20manage%20users%20and%20permissions.%26nbsp%3B%20Here%20are%20my%20questions%3A%3C%2FP%3E%3COL%3E%3CLI%3EIf%20I%20just%20want%20to%20manage%20users%20and%20permissions%2C%20can%20I%20create%20a%20development%20environment%20on%20Windows%2010%20Desktop%20or%20Windows%20Server%20running%20Sharepoint%3F%3C%2FLI%3E%3CLI%3EDo%20you%20know%20of%20an%20online%20tutorial%20with%20code%20samples%20in%20C%23%20that%20shows%20how%20to%20manage%20users%20and%20permissions%20on%20Sharepoint%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThank%20you%20for%20any%20assistance%20you%20can%20give%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1240626%22%20slang%3D%22en-US%22%3ERe%3A%20Basic%20Questions%20On%20Managing%20Users%20And%20Permissions%20in%20Sharepoint%20with%20C%23%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1240626%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EIf%20it%20is%20SharePoint%20online%2C%20then%20please%20refer%20the%20below%20link.%20A%20sample%20SPFx%20web%20part%20developed%20by%20the%20community%20member%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-securitygrid%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-securitygrid%3C%2FA%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

I want to develop an application that will manage users and permissions on Sharepoint.  I don't want to add apps or parts to Sharepoint, just manage users and permissions.  Here are my questions:

  1. If I just want to manage users and permissions, can I create a development environment on Windows 10 Desktop or Windows Server running Sharepoint?
  2. Do you know of an online tutorial with code samples in C# that shows how to manage users and permissions on Sharepoint?

Thank you for any assistance you can give me.

3 Replies
Hi,
If it is SharePoint online, then please refer the below link. A sample SPFx web part developed by the community member
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-securitygrid

@Sudharsan K.,

Thanks for the reply.  

 

Web parts are not on the agenda for me at this point.  I want to write a Winform application to manage users and permissions.  I would like to know if it is possible to have my development environment on Windows 10 as the people who will use the app will be on Windows 10 managing users and permissions on our Sharepoint online instance.

 

  1. Can I create a development environment on Windows 10?
  2. Do you know of any code snippets or examples for managing Sharepoint online users and permissions that run in a Winform?

Thank you.

Hi,
Yes, you can use Windows 10 for developing the application for SharePoint. Use Visual Studio Community or VS Code for your development based on your experience. Use PnP CSOM which is the patterns and practices client-side object model used to connect to SharePoint Online and you can do most of the operations programmatically. Please look at the below samples
https://github.com/pnp/PnP/tree/master/Samples

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...