|
This online help file is for EFT Server version 6.2.x. For other versions of EFT Server, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
Use the ICISites interface AddADSite method to add a Site that requires Active Directory authentication to the Server and retrieve the Site's COM interface.
Signature:
HRESULT AddADSite(
[in] BSTR bstrName,
[in] BSTR bstrRootFolder,
[in] BSTR bstrDomainContext,
[in] BSTR bstrAllowGroup,
[in] int nIP,
[in] UINT nPort,
[in] VARIANT_BOOL bCreateHomeFolder,
[in] VARIANT_BOOL bPermHomeFolder,
[in] VARIANT_BOOL bAutoStart,
[in] VARIANT_BOOL bCreateFTPFolders, //Create standard FTP folders
//(Usr, Bin, Incoming, Pub)?
[out, retval] ICISite** prop);
(Highlighted text applies to v6.1 and later.)
Example (VBScript):
Set Site = Sites.AddADSite("AD Site", "C:\sites\AD", "", 0, 21, True, True, True, True)
Parameters |
Definition |
bstrName |
New site name |
bstrRootFolder |
Site root folder |
bstrDomainName |
Default domain context for Active Directory |
bstrAllowGroup |
Group name |
nIP |
Index of the site IP address |
nPort |
Port number of the site |
bCreateHomeFolder |
TRUE means that a home folder for new site users should be created |
bPermHomeFolder |
TRUE means that new site users should be granted full permissions in their home folders |
bAutoStart |
TRUE means that the site should start automatically |
bCreateFTPFolders |
TRUE means to create standard FTP folders (Usr, Bin, Incoming, Pub) (v6.1 and later.)
|