Welcome to TechNet Blogs Sign in | Join | Help

Enterprise IT Identity & Access Management

A Buyer's & Integrator's Guide - WebLog Version 1.0

Syndication

News

Paramount Defenses added

Browse by Tags

All Tags » 6. SampleCode   (RSS)
Sorry, but there are no more tags available to filter with.
Sample Code (VBScript) - Retrieve MIIS WMI Password History
This is a sample WMI script to retrieve password change history for a specific account through MIIS. You just need to run it on MIIS server with MA name, domain name and account name as parameters. Option Explicit On Error Resume Next Dim Service Dim Read More...

Posted Monday, April 10, 2006 10:00 PM by Yale Li | 0 Comments

Filed under:

Sample Code (VBScript) - Query CAPICOM
This script queries capicom com object to get cert expiration date. Capicom.dll must be installed and registered in order to run this script. If you need additional cert info, you can just add more CAPICOM Cert object properties to my sample code. Option Read More...

Posted Wednesday, March 29, 2006 10:00 PM by Yale Li | 0 Comments

Filed under:

Sample Code (VBScript) - Compare Two AD Groups and Get Membership Difference
If you want two AD groups with the same membership but are afraid of mis-sync, I have a sample script to find the delta: On Error Resume Next Dim strGroup1, strGroup2, iArgs, oArgs iArgs = Wscript.arguments.count Set oArgs = Wscript.arguments strGroup1 Read More...

Posted Sunday, March 26, 2006 6:00 AM by Yale Li | 0 Comments

Filed under:

Sample Code (C#) - Provision User Accounts and Groups with MIIS
Here is my sample code to provision AD use accounts and groups using MIIS MV Extension: // Use Visual Studio to build using System; using Microsoft.MetadirectoryServices; namespace Mms_Metaverse { public class MVExtensionObject : IMVSynchronization { Read More...

Posted Sunday, March 26, 2006 4:00 AM by Yale Li | 0 Comments

Filed under:

Sample Code (T-SQL) - Protecting Identity Data with SQL 2005 Data Encryption
There are multiple ways to protect (encrypt) data with SQL 2005: either using certificate or password. Here is my code sample to use a password to encrypt identity data (assuming the identity table name as tblIdentity_SmartCard table, the identity data Read More...

Posted Sunday, March 26, 2006 3:00 AM by Yale Li | 0 Comments

Filed under:

Sample Code (C++) - Scan Certificate Expiration Date Remotely
It is hard to find a tool to check certificate expiration date on a remote machine without logon locally. Here is my code to accomplish this job: // to build: cl scancert.cpp -link crypt32.lib //------------------------------------------------------ #include Read More...

Posted Sunday, March 26, 2006 2:00 AM by Yale Li | 0 Comments

Filed under:

Sample Code (Command) - Windows Vista Domain Join with smart card
After you require smart card interactive logon in your environment, the traditional domain join will not work because you don't have a password. Windows Vista resolves this problem by allowing domain join with smart card. However, this new feature will Read More...

Posted Sunday, March 26, 2006 1:00 AM by Yale Li | 0 Comments

Filed under:

Page view tracker