IPWorks Auth 2020 Python Edition

Questions / Feedback?

dn Property

The Distinguished Name used as the base for LDAP operations.

Syntax

def get_dn() -> str: ...
def set_dn(value: str) -> None: ...

dn = property(get_dn, set_dn)

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"

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Python Edition - Version 20.0 [Build 8155]