Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CreateDatabase method creates a SQL database for SSO.
Syntax
Sub CreateDatabase(
sqlServer As String,
sqlDatabase As String,
configureOnly As Boolean,
secretServer As String,
ssoAdminAccount As String,
ssoAffilateAdminAccount As String
);
HRESULT CreateDatabase(
BSTR sqlServer,
BSTR sqlDatabase,
bool configureOnly,
BSTR secretServer,
BSTR ssoAdminAccount,
BSTR ssoAffilateAdminAccount
);
Parameters
| Parameter | Description |
|---|---|
sqlServer |
String containing the name of the SQL server for the database. |
sqlDatabase |
String containing the name of the SQL database. |
configureOnly |
True to configure an already-existing database; otherwise, false. |
secretServer |
String containing the name of the secret server. |
ssoAdminAccount |
String containing the name of the SSO administration account for the server. |
ssoAffilateAdminAccount |
String containing the name of the SSO affiliate administration account. |
Property Value/Return Value
[C++] This method returns an HRESULT indicating whether it completed successfully. For more details, see the Error Values section.
[Visual Basic] Not Applicable.
Exceptions
[C++] This method returns an HRESULT containing one of the values in the following table.
[Visual Basic] This method indicates errors by setting the Number property of the global Err object to one of the values in the following table.
| Value | Description |
|---|---|
| S_OK | The method succeeded. |
| E_ACCESSDENIED | Access is denied to the caller. |
| E_INVALIDREG | An invalid parameter was detected. |