Active Directory Provider

Executes standard operations on Active Directory directory service objects. Used by Microsoft Provisioning Framework (MPF).

Implementation

Program Files\Microsoft Provisioning\Providers\MPFADProv.dll

Errors

The following table lists the errors returned by this.

HRESULT Message

0xC2100FA2

The required input element '%1' was not found in type '%2'.

0xC2100FA3

The input element '%1' is invalid in type '%2'.

0xC2100FA4

Unable to open object '%1'.

0xC2100FA5

The domain of the path does not match that of the preferredDomainController.

0xC2100FA6

Invalid mode attribute value for property.

0xC2100FA7

The 'preference' sub-element '%1' is missing or invalid.

0xC2100FA8

IDirectorySearch::GetNextRow failed.

0xC2100FA9

Unable to create '%1'.

0xC2100FAA

Unable to delete '%1'.

0xC2100FAB

Invalid parameter: '%1'.

0xC2100FFA

The element name '%1' is not a valid expression operator.

0xC2100FFB

An expression argument is missing.

0xC2100FFC

Invalid enum string: '%1'.

0xC2100FFD

The expression operator '%1' could not be evaluated.

0xC2100FFE

An attempt was made to divide by zero.

0xC2101068

Invalid 'ace' sub-element name '%1'.

0xC2101069

The 'ace' sub-element '%1' has an invalid value of '%2'.

0xC210106A

Missing 'ace' sub-element '%1'.

0xC210106B

Only one 'ace' sub-element named '%1' is allowed per 'ace'.

0xC210106C

The 'ace' sub-element 'trusteeForm' does not specify an object, but an object was specified.

0xC210106D

The provided ACL was rejected by SetEntriesInAcl.

0xC210106E

%1.

0x8007001F

A device attached to the system is not functioning.

Create Object can return this for an invalid sAMAccountName.

0x80005000

Unspecified Error

Group Add, Group Remove and Group IsMember can return this for an invalid path element.

0x80070057

The parameter is incorrect.

Get DACL can return this when the user does not have read privilege on the object.

Name Active Directory Provider

Version

1

Provider Source

Provisioning.ADProvider.1

Public Methods

Public Method Description

Active Directory Provider::Create Object

Creates an object of the specified schema class for the specified container.

Active Directory Provider::Delete Object

Deletes the specified object.

Active Directory Provider::Evaluate

Evaluates a simple expression and returns a regular expression. For example, you can use it to build and modify the values for an object's userAccountControl property.

Active Directory Provider::Get DACL

Returns the discretionary access control list (DACL) for the specified object.

Active Directory Provider::Get Properties

Returns one or more properties for an object.

Active Directory Provider::Get SACL

Returns the system access control list (SACL) for the specified object.

Active Directory Provider::Group Add

Adds an object to a group.

Active Directory Provider::Group IsMember

Checks whether an object is part of the specified group.

Active Directory Provider::Group Members

Returns the members of the specified group.

Active Directory Provider::Group Remove [HMC SDK1]

Removes an object from a group.

Active Directory Provider::Lookup Account From SID [HMC SDK1]

Returns the account name and Active Directory domain from a security identifier (SID).

Active Directory Provider::Make Path Domain Controller Specific [HMC SDK1]

Forces a lightweight directory access protocol (LDAP) path to be domain-controller specific.

Active Directory Provider::Make Path Domain Specific [HMC SDK1]

Modifies a given LDAP path to point to the Active Directory domain for the path's Domain Name System (DNS) host.

Active Directory Provider::Move Object [HMC SDK1]

Moves the specified object.

Active Directory Provider::Path From DN [HMC SDK1]

Converts a distinguished name (DN) to an LDAP path.

Active Directory Provider::Path From RN [HMC SDK1]

Expands an object's relative name (RN) to its LDAP path.

Active Directory Provider::Path To DN [HMC SDK1]

Converts an LDAP path to a distinguished name (DN).

Active Directory Provider::Rename Object [HMC SDK1]

Renames the specified object.

Active Directory Provider::Search [HMC SDK1]

Performs a directory search.

Active Directory Provider::Set Properties [HMC SDK1]

Sets one or more properties for an object.

Active Directory Provider::Translate Name [HMC SDK1]

Converts names between different Microsoft Win32 naming conventions.

Updates an object's security descriptor. The security descriptor consists of the discretionary access control list (DACL) that sets permissions and the system access control list (SACL) that sets auditing.

Changes user passwords.

Lists the groups for a user.

Sets a user's initial password.

Verifies that the user principal name (UPN) has a valid UPN suffix (any characters after the "@" character) and returns an error if it does not. More precisely, this procedure verifies that the suffix of the given UPN is in the given list of UPN suffixes.

Applies To

Active Directory Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0