DN Property
The Distinguished Name used as the base for LDAP operations.
Syntax
ANSI (Cross Platform) char* GetDN();
int SetDN(const char* lpszDN); Unicode (Windows) LPWSTR GetDN();
INT SetDN(LPCWSTR lpszDN);
@property (nonatomic,readwrite,assign,getter=DN,setter=setDN:) NSString* DN; - (NSString*)DN; - (void)setDN:(NSString*)newDN;
#define PID_LDAP_DN 9 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_LDAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_LDAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Also the base object during LDAP searches.
The Distinguished Name is provided in string format as specified by RFC 1779. Example (Setting DN)
LDAPControl.DN = "uid=TThompson,ou=Employees,dc=server" LDAPControl.DN = "Domain\Username"
Data Type
String