Public Member Functions | |
| LdapWebUtility (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 | 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. | |
| Simias::LdapProvider::LdapWebUtility::LdapWebUtility | ( | string | url, | |
| string | dn, | |||
| string | password | |||
| ) | [inline] |
| void Simias::LdapProvider::LdapWebUtility::Connect | ( | ) | [inline] |
Connect and/or Bind to the LDAP Server.
| void Simias::LdapProvider::LdapWebUtility::Disconnect | ( | ) | [inline] |
Disconnect from the LDAP Server.
| bool Simias::LdapProvider::LdapWebUtility::CreateUser | ( | string | dn, | |
| string | password | |||
| ) | [inline] |
| void Simias::LdapProvider::LdapWebUtility::GrantReadRights | ( | string | userDN, | |
| string | containerDN | |||
| ) | [inline] |
| LdapDirectoryType Simias::LdapProvider::LdapWebUtility::QueryDirectoryType | ( | ) | [inline] |
Queries to find the type of directory.
| bool Simias::LdapProvider::LdapWebUtility::ValidateSearchContext | ( | string | context | ) | [inline] |
Validates a context.
| context | The context to validate. |
readonly string Simias::LdapProvider::LdapWebUtility::LDAP_SCHEME = "ldap" [static] |
LDAP Scheme.
readonly string Simias::LdapProvider::LdapWebUtility::LDAP_SCHEME_SECURE = "ldaps" [static] |
Secure LDAP Scheme.
string Simias::LdapProvider::LdapWebUtility::DN [get] |
LDAP Bind User DN.
string Simias::LdapProvider::LdapWebUtility::Host [get] |
LDAP Host.
LdapDirectoryType Simias::LdapProvider::LdapWebUtility::DirectoryType [get] |
Gets the LDAP directory type.
string Simias::LdapProvider::LdapWebUtility::Password [get] |
LDAP Bind User Password.
int Simias::LdapProvider::LdapWebUtility::Port [get] |
LDAP Port.
bool Simias::LdapProvider::LdapWebUtility::Secure [get] |
LDAP Secure Connection.
1.5.6