RemoteUser Property

The id of the user on the remote host.

Syntax

ANSI (Cross Platform)
char* GetRemoteUser();
int SetRemoteUser(const char* lpszRemoteUser); Unicode (Windows) LPWSTR GetRemoteUser();
INT SetRemoteUser(LPCWSTR lpszRemoteUser);
@property (nonatomic,readwrite,assign,getter=remoteUser,setter=setRemoteUser:) NSString* remoteUser;
- (NSString*)remoteUser;
- (void)setRemoteUser:(NSString*)newRemoteUser;
#define PID_RSHELL_REMOTEUSER 19

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_Rshell_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_Rshell_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This must be the id of a user in the remote host for whom remote execution of commands is permitted.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]