Example Code for Profile Objects
This section provides detailed examples of how to use the profile definitions exposed by the Profiles resource. These samples are written in Microsoft Visual Basic, Visual Basic Scripting Edition (VBScript), or Active Server Pages (ASP), and do not show error checking or certain other formalities required for functional code.
This section contains:
Code to Connect to the Profiles Store. Describes how to connect to the Profiles store.
Code to Enumerate Errors. Describes how to enumerate all errors generated by the last Profiles resource operation.
Code to Setup Bind Credentials to Directory Stores. Describes how to bind profiles to specific users.
Code to Create a New Profile. Describes how to create a new profile.
Code to Retrieve a Profile. Describes how to retrieve a profile.
Code to Modify a Profile. Describes how to modify the data stored in a profile.
Code to Delete a Profile. Describes how to delete a profile.
Code to Retrieve XML Data and Schema. Describes how to retrieve the Extensible Markup Language (XML) representations of profile data and schemas.
Code to Perform Bulk Operations using ADO and SQL. Describes how ActiveX Data Object (ADO) and SQL are used to perform bulk operations on profile data.