Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
private void CreateDocumentDirectory(Workroom workroom)
{
string newWorkroomName = WorkroomName.Text;
string newDirectoryName = newWorkroomName;
int i = 0;
while(FileRoot.GetSubdirectory(newDirectoryName) != null)
newDirectoryName = newWorkroomName + (++i).ToString();
UnifiedDirectory newDir =
FileRoot.CreateSubdirectory(newDirectoryName);
newDir.ACL.IsInherited = false;
newDir.ACL.Clear();
newDir.ACL.Save();
workroom.FileRoot = newDir.Path;
}