snmpAgentUsersSet (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

All NX devices

Firmware version:

1.60.00


Write USM users to the persistently stored database for the publishing agent.

Foreign entities must be able to identify themselves with these users to be able to access published variables on an USM SNMPv3 enabled RTCU device.

 

Input:

Readonly : snmpUser

USM user with read permissions.

 

Writable : snmpUser

USM user with read and write permissions.

 

Output:

None

 

 

Returns: INT

1

- Success.

0

- This function is not supported.

-2

- Invalid input parameter.

-12

- General error.

 

Declaration

FUNCTION snmpAgentUsersSet : INT;
VAR_INPUT
  readonly : ACCESS snmpUser;
  writable : ACCESS snmpUser;
END_VAR;

 

Example:

// Please see the example at Examples - SNMP Client.