SobekCM_Database.Edit_User_Folder Method
Edit an existing user folder, or add a new user folder
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static int Edit_User_Folder(
int UserFolderID,
int UserID,
int ParentFolderID,
string FolderName,
bool IsPublic,
string Description,
Custom_Tracer Tracer
) |
Parameters
- UserFolderID
- Type: System..::..Int32
Primary key for the folder, if this is an edit, otherwise -1
- UserID
- Type: System..::..Int32
Primary key for this user from the database
- ParentFolderID
- Type: System..::..Int32
Key for the parent folder for this new folder
- FolderName
- Type: System..::..String
Name for this new folder
- IsPublic
- Type: System..::..Boolean
Flag indicates if this folder is public
- Description
- Type: System..::..String
Description for this folder
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Int32 Primary key for this new folder, or -1 if an error occurred
Remarks
See Also