The EnableUser method accepts the following input
parameters.
Input arguments |
Required |
Description |
User |
No |
The LDAP path to the user object to be enabled. |
PreferredDomainController |
No |
The domain controller to use for this operation. |
SendCredentials |
No |
True/False: embed basic authentication credentials in the MPF
request. |
ErrorReturn |
No |
Out parameter containing the error (if any) thrown by MPF
during the processing of the request. |
The EnableUser method has the following return values.
Output arguments |
Description |
True |
If the method succeeds. |
False |
If the method fails to enable the Active Directory user
account. |