Public Member Functions | |
| LdapUtility (string url, string dn, string password) | |
| Constructor. | |
| void | Connect () |
| Connect and/or Bind to the LDAP Server. | |
| void | Disconnect () |
| Disconnect from the LDAP Server. | |
| bool | ChangePassword (string dn, string password) |
| change the password | |
| bool | CreateUser (string dn, string password) |
| Create a New User in the LDAP Tree. | |
| void | GrantReadRights (string userDN, string containerDN) |
| Grant Read Rights to the LDAP User on the the LDAP Container. | |
| LdapDirectoryType | QueryDirectoryType () |
| Queries to find the type of directory. | |
| bool | ValidateSearchContext (string context) |
| Validates a context. | |
Static Public Attributes | |
| static readonly string | LDAP_SCHEME = "ldap" |
| LDAP Scheme. | |
| static readonly string | LDAP_SCHEME_SECURE = "ldaps" |
| Secure LDAP Scheme. | |
Properties | |
| string | DN [get] |
| LDAP Bind User DN. | |
| string | Host [get] |
| LDAP Host. | |
| LdapDirectoryType | DirectoryType [get] |
| Gets the LDAP directory type. | |
| string | Password [get] |
| LDAP Bind User Password. | |
| int | Port [get] |
| LDAP Port. | |
| bool | Secure [get] |
| LDAP Secure Connection. | |
| Novell::iFolder::Utility::LdapUtility::LdapUtility | ( | string | url, | |
| string | dn, | |||
| string | password | |||
| ) | [inline] |
Constructor.
| url | LDAP URL | |
| dn | LDAP User DN | |
| password | LDAP User Password |
| void Novell::iFolder::Utility::LdapUtility::Connect | ( | ) | [inline] |
Connect and/or Bind to the LDAP Server.
| void Novell::iFolder::Utility::LdapUtility::Disconnect | ( | ) | [inline] |
Disconnect from the LDAP Server.
| bool Novell::iFolder::Utility::LdapUtility::ChangePassword | ( | string | dn, | |
| string | password | |||
| ) | [inline] |
change the password
| dn | sn for which change is to be done | |
| password | password |
| bool Novell::iFolder::Utility::LdapUtility::CreateUser | ( | string | dn, | |
| string | password | |||
| ) | [inline] |
Create a New User in the LDAP Tree.
| dn | The New User DN | |
| password | The New User Password |
| void Novell::iFolder::Utility::LdapUtility::GrantReadRights | ( | string | userDN, | |
| string | containerDN | |||
| ) | [inline] |
Grant Read Rights to the LDAP User on the the LDAP Container.
| userDN | The LDAP User DN | |
| containerDN | The LDAP Container DN |
| LdapDirectoryType Novell::iFolder::Utility::LdapUtility::QueryDirectoryType | ( | ) | [inline] |
Queries to find the type of directory.
| bool Novell::iFolder::Utility::LdapUtility::ValidateSearchContext | ( | string | context | ) | [inline] |
Validates a context.
| context | The context to validate. |
readonly string Novell::iFolder::Utility::LdapUtility::LDAP_SCHEME = "ldap" [static] |
LDAP Scheme.
readonly string Novell::iFolder::Utility::LdapUtility::LDAP_SCHEME_SECURE = "ldaps" [static] |
Secure LDAP Scheme.
string Novell::iFolder::Utility::LdapUtility::DN [get] |
LDAP Bind User DN.
string Novell::iFolder::Utility::LdapUtility::Host [get] |
LDAP Host.
LdapDirectoryType Novell::iFolder::Utility::LdapUtility::DirectoryType [get] |
Gets the LDAP directory type.
string Novell::iFolder::Utility::LdapUtility::Password [get] |
LDAP Bind User Password.
int Novell::iFolder::Utility::LdapUtility::Port [get] |
LDAP Port.
bool Novell::iFolder::Utility::LdapUtility::Secure [get] |
LDAP Secure Connection.
1.5.6