CreateGalaxy method
- Last UpdatedJul 23, 2024
- 1 minute read
Creates a new Galaxy on the GR node.
Class
IGRAccess
Syntax
[C#]
void CreateGalaxy(
string galaxyName,
string GRNodeName,
bool enableSecurity,
EAuthenticationMode AuthenticationMode,
string osUserName
);
[Visual C++]
HRESULT CreateGalaxy(
[in] BSTR galaxyName,
[in, optional] BSTR grNodeName,
[in, optional, defaultvalue( -1 )]
VARIANT_BOOL enableSecurity,
[in, optional, defaultvalue ( osAuthenticationMode )] EAuthenticationMode authenticationMode,
[in, optional] BSTR osUserName
);
Parameters
galaxyName
The name to give the new Galaxy.
grNodeName
The name of the GR node (computer name). Blank or omitted means the current computer is the Galaxy Repository.
enableSecurity
Indicates whether security should be enabled.(valid only for Galaxy authentication).
authenticationMode
Indicates whether OS or Galaxy authentication should be used.
osUserName
The name of the OS user if osAuthenticationMode is specified. Ignored otherwise. If not specified in OS authentication mode, the user currently logged in to the OS is used.