The following command configures client node security on demoCache which
has administrator john_smith. This adds primary user as james_tredwell
and secondary user david_watson on the server 20.200.20.11.

Properties

Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters

Data Types

Description

Default Value

-CacheName*

<String>

Specifies the name of the cache for which security on the specified client node will be configured.

-

-NodeName*

<String>

Specifies the client node where security is to be configured.

-

-Admin*

<String>

Specifies the administrator Id. To configure security on any node, administrative rights are required.

-

-AdminPassword*

<String>

Specifies administrator password.

-

-DomainController*

<String>

Specifies the domain controller.

-

-PrimaryUserName*

<String>

Specifies primary user Id.

-

-PrimaryPassword*

<String>

Specifies password for primary user. This is saved in client.ncconf in encrypted form.

-

-SecondaryUserName

<String>

Specifies secondary user Id.

-

-SecondaryPassword

<String>

Specifies password for secondary user. This is saved in client.ncconf in encrypted form.

-

-Port

<Integer>

Specifies the port on which NCache service is running.

8250

-UserId

<String>

Specifies the user-id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user-id must be the active directory user-id prefixed with the domain name.

-

-Password

<String>

Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password.