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 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_LDAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_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