Interface ILdapManager
Assembly: Volo.Abp.Ldap.dll
Syntax
public interface ILdapManager
Methods
AddSubOrganization(String, String)
Declaration
void AddSubOrganization(string organizationName, string parentDistinguishedName)
Parameters
| Type |
Name |
Description |
| System.String |
organizationName |
|
| System.String |
parentDistinguishedName |
|
AddSubOrganization(String, LdapOrganization)
Declaration
void AddSubOrganization(string organizationName, LdapOrganization parentOrganization)
Parameters
| Type |
Name |
Description |
| System.String |
organizationName |
|
| LdapOrganization |
parentOrganization |
|
AddUserToOrganization(String, String, String)
Declaration
void AddUserToOrganization(string userName, string password, string parentDistinguishedName)
Parameters
| Type |
Name |
Description |
| System.String |
userName |
|
| System.String |
password |
|
| System.String |
parentDistinguishedName |
|
AddUserToOrganization(String, String, LdapOrganization)
Declaration
void AddUserToOrganization(string userName, string password, LdapOrganization parentOrganization)
Parameters
| Type |
Name |
Description |
| System.String |
userName |
|
| System.String |
password |
|
| LdapOrganization |
parentOrganization |
|
Authenticate(String, String)
Declaration
bool Authenticate(string userDomainName, string password)
Parameters
| Type |
Name |
Description |
| System.String |
userDomainName |
E.g administrator@yourdomain.com.cn
|
| System.String |
password |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetOrganization(String)
Declaration
LdapOrganization GetOrganization(string distinguishedName)
Parameters
| Type |
Name |
Description |
| System.String |
distinguishedName |
|
Returns
GetOrganizations(String)
Declaration
IList<LdapOrganization> GetOrganizations(string name = null)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
GetUser(String)
Declaration
LdapUser GetUser(string distinguishedName)
Parameters
| Type |
Name |
Description |
| System.String |
distinguishedName |
|
Returns
GetUsers(String, String, String)
Declaration
IList<LdapUser> GetUsers(string name = null, string displayName = null, string commonName = null)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
displayName |
|
| System.String |
commonName |
|
Returns
Extension Methods