User Property
The user name used for SNMPv3 authentication.
Syntax
ANSI (Cross Platform) char* GetUser();
int SetUser(const char* lpszUser); Unicode (Windows) LPWSTR GetUser();
INT SetUser(LPCWSTR lpszUser);
@property (nonatomic,readwrite,assign,getter=user,setter=setUser:) NSString* user; - (NSString*)user; - (void)setUser:(NSString*)newUser;
#define PID_SNMPMGR_USER 28 IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_SNMPMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSNMP_EXTERNAL int IPWORKSSNMP_CALL IPWorksSNMP_SNMPMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
If authentication is desired, this property must be set before the class attempts to connect to an SNMPv3 Agent.
Data Type
String