Samples

This SDK comes with two samples.  The source code for each can be found in the <sdk-install-root>\Samples\Microsoft Site Server\PM\ directory of the SDK.  The samples are listed below.

Included Samples

Custom DPA Login User Interface

This sample demonstrates how one can build custom login interfaces identifying different realms when using Distributed Password Authentication (DPA).

Sample Client/Server

This sample demonstrates how one could use the Membership Authentication server as a Security Support Provider Interface (SSPI) package to authenticate clients.

Other Examples

Examples of using the various COM Classes can be found in many places in the product.  Two great resources for examples of use are listed below.

pmadmin.vbs

This file resides in the c:\microsoft site server\bin\P&M directory on a system with Site Server installed.  This tool has many examples using the various administrative COM classes to configure the P&M system

dtclib.inc

Another good place to look is in the Design Time Control (DTC) "include" file called dtclib.inc. This file is included in pages that use the DTCs and define a set of stock methods used by them.  The functionality includes adding and retrieving properties for users as well as common things such as migration of anonymous cookie users to a fully registered account.


© 1997-1998 Microsoft Corporation. All rights reserved.