Enables scripted content fragments to get user folder information.
Properties
Name | Access | Type | Description |
---|---|---|---|
Current | Read | UserFolder | Current User Folder |
Methods
Create
Creates a user folder
Velocity
#set($userFolderResponse = $core_v2_userFolder.Create($folderName, $parentFolderPath))
JavaScript
var userFolderResponse = core_v2_userFolder.Create(folderName, parentFolderPath);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
folderName | String | Folder Name | Required | ||
parentFolderPath | String | Parent Folder Path | Required |
Returns
Delete
Deletes a user folder
Velocity
#set($additionalInfoResponse = $core_v2_userFolder.Delete($folderPath))
JavaScript
var additionalInfoResponse = core_v2_userFolder.Delete(folderPath);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
folderPath | String | Folder Path | Required |
Returns
Get
Gets a user folder
Velocity
#set($userFolderResponse = $core_v2_userFolder.Get($userId, $folderPath))
JavaScript
var userFolderResponse = core_v2_userFolder.Get(userId, folderPath);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | Int32 | User Id | Required | ||
folderPath | String | Folder Path | Required |
Returns
GetParent
Gets a user parent user folder
Velocity
#set($userFolderResponse = $core_v2_userFolder.GetParent($userId, $folderPath))
JavaScript
var userFolderResponse = core_v2_userFolder.GetParent(userId, folderPath);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | Int32 | User Id | Required | ||
folderPath | String | Folder Path | Required |
Returns
List
Lists user folders
Velocity
#set($apiListResponse = $core_v2_userFolder.List($userId, $folderPath))
JavaScript
var apiListResponse = core_v2_userFolder.List(userId, folderPath);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
userId | Int32 | User Id | Required | ||
folderPath | String | Folder Path | Required |