public Folder GetFolder( System.string folderName )
Parameters
- folderName
- The name (not path) of the folder to retrieve from the FolderCollection.
Return Value
A Folder object from the FolderCollection whose name is folderName.
public Folder GetFolder( System.string folderName )
Exception | Description |
---|---|
System.NullReferenceException | A NullReferenceException is thrown if a folder with the name in the folderName argument does not exist in the FolderCollection |
Role myRole = api.Roles.GetRole("ReportUser"); myRole.Security.Folders.IncludeAll = false; Label1.Text = myRole.Security.Folders.GetFolder("Screenshots").Name;