Domain Property

The name of the domain to join when dialing the RAS connection.

Syntax

ANSI (Cross Platform)
char* GetDomain();
int SetDomain(const char* lpszDomain); Unicode (Windows) LPWSTR GetDomain();
INT SetDomain(LPCWSTR lpszDomain);
@property (nonatomic,readwrite,assign,getter=domain,setter=setDomain:) NSString* domain;
- (NSString*)domain;
- (void)setDomain:(NSString*)newDomain;
#define PID_NETDIAL_DOMAIN 2

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

Default Value

""

Remarks

This property contains the name of the domain to join when dialing the RAS connection. User, PhoneNumber, Password, and optionally Domain and CallbackNumber are used when PhonebookEntry is empty.

Calling the Connect method attempts a connection.

Data Type

String

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