Click or drag to resize

ISessionManagementGetPersonalFolderForUser Method

Gets the personal folder for the given user, creating one if it doesn't yet exist and creation is requested. Callable by admins, or by the user specified by userId. In the case that a folder needs to be created, this API may return a null result if the user does not have rights to create their own sandbox, based on Site and IDP settings. pass allowCreation=true.

Namespace:  Panopto.Server.Services.PublicAPI.V46.Soap
Assembly:  DataLib (in DataLib.dll) Version: 13.0.0.0 (13.0.0.00000)
Syntax
C#
Folder GetPersonalFolderForUser(
	AuthenticationInfo auth,
	Guid userId,
	bool allowCreation
)

Parameters

auth
Type: Panopto.Server.Services.PublicAPI.V40AuthenticationInfo
Used to authenticate the current user. Can be null if an auth cookie is passed
userId
Type: SystemGuid
The id of the user for whom to get or create the personal folder
allowCreation
Type: SystemBoolean
True if the folder should be created when it doesn't exist.

Return Value

Type: Folder
The folder for this user or null if none exists.
See Also