Step 11 - Create the Metaverse Rules Extension

Applies To: Windows Server 2008, Windows Server 2008 R2

This step explains how to create the metaverse rules extension.

To create the metaverse rules extension

  1. Log on to RES-DC.resource.fabrikam.net as Administrator.

  2. Click Start, click All Programs, click Microsoft Identity Integration Server, and click Identity Manager.

  3. In Identity Manager, go to the top and select Tools, and select Options. This will bring up the Options dialog box.

  4. On the Options dialog box, check Enable metaverse rules extension and click Create Rules Extension Project. This will bring up the Create Extension Project dialog box.

  5. On the Create Extension Project dialog box, select Visual C# from the drop-down next to Programming Language.

  6. On the Create Extension Project dialog box, select Rules Extension from the drop-down next to Project Type.

  7. On the Create Extension Project dialog box, leave the default of MVExtension next to Project name.

  8. On the Create Extension Project dialog box, leave the default for Project Location.

  9. On the Create Extension Project dialog box, leave a check in Launch in VS.NET IDE.

  10. On the Create Extension Project dialog box, click OK. This will launch Visual Studio.

Note

When this project opens the Visual Studio Conversion Wizard will start so that it can convert the project to a Visual Studio 2008 version. Simply click Next and then Finish. Then select Load this project normally. Then close the conversion wizard once it is complete. Also, if you have not opened Visual Studio 2008 yet, it will ask you to configure it for first time use. Simply select General Settings and then wait momentarily until it finishes. When it is done, the Visual Studio Conversion Wizard will start.

  1. In Visual Studio, under the Solution Explorer, double-click MVExtension.cs.

  2. Delete all of the code that appears in the large window on the left. Copy the code from Appendix C – Metaverse Extension Code into this area.

  3. In Visual Studio, at the top, select Build and then select Build Solution. Down at the bottom, in the Output section, you should see Build: 1 succeeded or up-to-date, 0 failed, 0 skipped. Close Visual Studio. This will return you to the Options dialog box.

  4. In Identity Manager, on the Options dialog box, next to Rules extension name click Browse. This will bring up the Select File dialog box.

  5. On the Select File dialog box, select MVExtension.dll and click OK. This will close the Select File dialog box.

  6. On the Options dialog box, place a check in Enable Provisioning Rules Extension and click OK. This will close the Options dialog box.

  7. Close Identity Manager.

See Also

Concepts

Implementing the Procedures in this Document