
Use the ICISites interface AddODBCSite method to add a Site that uses an ODBC database for user authentication to the Server and retrieve the Site's COM interface.
Signature:
HRESULT AddODBCSite(
[in] BSTR bstrName,
[in] BSTR bstrRootFolder,
[in] BSTR bstrDSN,
[in] VARIANT_BOOL bEncryptPasswords,
[in] int nIP,
[in] UINT nPort,
[in] VARIANT_BOOL bCreateHomeFolder,
[in] VARIANT_BOOL bPermHomeFolder,
[in] VARIANT_BOOL bAutoStart,
[out, retval] ICISite** prop);
|
Parameters |
Definition |
|
bstrName |
New site name |
|
bstrRootFolder |
Site root folder |
|
bstrDSN |
Database DSN |
|
bEncryptPasswords |
TRUE if the database should contain encrypted passwords |
|
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 |