ISessionManagementAddFolder Method |
Creates a new folder.
Auth works differently for this method than others. It can be called by external providers on behalf of users who would not otherwise have the privledge to create a folder, groups, and set ACLs
This is necessary because the external user may not have been added to panopto yet. The external provider should use its own security to determine who it will allow to call this method
Namespace:
Panopto.Server.Services.PublicAPI.V42.Soap
Assembly:
DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax Folder AddFolder(
AuthenticationInfo auth,
string name,
Nullable<Guid> parentFolder,
bool isPublic
)
Parameters
- auth
- Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed - name
- Type: SystemString
The name of the new folder - parentFolder
- Type: SystemNullableGuid
The guid of the parent of the new folder. null for a root level folder - isPublic
- Type: SystemBoolean
It true then the contents of the folder will be visible to everybody
Return Value
Type:
FolderThe metadata for the newly created folder
See Also