Category: c#

Create Folder on Network Share with Permissions

The following code sample creates a new folder on a network share and gives the user full control on the new folder, subfolders and files. Userful for creating user home folders.


Group cannot be found.

Problem Assume the following code to create a new group in SharePoint:

  I always got the following exception message in line “SPGroup newSPGroup = groups[groupName];”: Microsoft.SharePoint.SPException: Group cannot be found. But the...

Enjoy this blog? Please spread the word :)