DirectoryService.Insert Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Insert(Directory, bool)

Inserts a Directory object into the repository.

public static Directory Insert(Directory directory, bool sudo = false)

Parameters

directory
Directory

Directory object to insert.

sudo
bool

true to perform action as super user, otherwise false.

Returns

Directory

The inserted Directory.