Functions -
ldap
doAuthenticate | Authenticate with username and password. |
getGroups | Reads the scope(s) for the user with the given username. |
initLdapConnectionContext | Initailizes LDAP connection context. |
doAuthenticate
(LdapConnection ldapConnection, string username, string password)
returns boolean | ErrorAuthenticate with username and password.
Parameters
- ldapConnection LdapConnection
-
LdapConnection
instance
- username string
-
Username
- password string
-
Password
Reads the scope(s) for the user with the given username.
initLdapConnectionContext
(LdapConnectionConfig ldapConnectionConfig, string instanceId)
returns LdapConnection | ErrorInitailizes LDAP connection context.
Parameters
- ldapConnectionConfig LdapConnectionConfig
-
LdapConnectionConfig
instance
- instanceId string
-
Unique id generated to identify an endpoint
-
Return Type
(LdapConnection | Error) LdapConnection
instance, orError
if error occurred