DN (property)
The Distinguished Name used as the base for LDAP operations.
Syntax
@property (nonatomic,readwrite,assign,getter=DN,setter=setDN:) NSString* DN; - (NSString*)DN; - (void)setDN:(NSString*)newDN;
public var DN: String { get {...}
set {...} }
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"