OpenAPI User Guide > OpenAPI User Guide > Accessing the Name Server > Name Server Query Syntax > Create Login Statement--Create a Login Definition
Was this helpful?
Create Login Statement--Create a Login Definition
This statement creates a remote user authorization.
This statement has the following syntax:
create global|private login vnode username password
This statement has the following parameters:
global|private
Specifies a global or private object. A global object is available to all users on the local node. A private object is available to a single user.
vnode
Specifies the virtual node name to be associated with this authorization.
username
Specifies the name of the account to be used on the host machine of a remote installation.
password
Specifies the password of the remote account.
Examples: Create login statement
The following example creates a private user authorization on vnode apitest for user Tom:
create private login apitest tom tompassword
The following example creates a global user authorization on vnode dbtest using an installation password:
create global login dbtest * installationpassword
Last modified date: 11/09/2022