Create a folder
        Namespace:
SynergyServerScripting.Entities
        
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
	
		
	
	
	
				
			
	
			
				
				
				
					
				
					
			
		
		
		
			
	
			
		
		
			
	
			
		
		
		
			
	
			
				
				
				
					
				
					
			
		
		
	
  
	
	
	
	
	
	
		
  
	
	
						
			
			Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function CreateFolder( _
ByVal folder_name As String, _
ByVal parent_folder As EntityID, _
ByVal project_id As EntityID, _
ByVal inherit_permissions As Boolean, _
ByVal inherit_file_attribs As Boolean, _
ByVal folder_type As FolderType, _
ByVal contact_id As EntityID, _
ByVal db As IDatabase _
) As EntityID
This language is not supported or no code example is available.
public static function CreateFolder(
folder_name : String,
parent_folder : EntityID,
project_id : EntityID,
inherit_permissions : boolean,
inherit_file_attribs : boolean,
folder_type : FolderType,
contact_id : EntityID,
db : IDatabase
) : EntityID;
This language is not supported or no code example is available.
Parameters
- folder_name
 - 
		Type: string 
		
the folder name to create
 
- parent_folder
 - 
        Type: EntityID
        
the parent folder to create it in - may be null if a root folder. If creating a root folder, you must call Project.SetProjectRootFolder
 
- project_id
 - 
		Type: EntityID 
		
 
- inherit_permissions
 - 
		Type: bool 
		
whether or not this folder inherits permissions
 
- inherit_file_attribs
 - 
		Type: bool 
		
 
- folder_type
 - 
		Type: FolderType 
		
the type of folder
 
- contact_id
 - 
		Type: EntityID 
		
the id of the contact creating the folder
 
- db
 - 
		Type: IDatabase 
		
the database connection
 
Return Value
Type: EntityIDthe created folder id