Courion Tip – Enable User workflow

Create a new PMM Gateway target that mirrors your active directory target.

Give it a similar name to existing targets, but append “_unlock” to the name:

Under Password Reset, Notification configuration, turn off all emails – mark them as “available = off”

Modify your summary and confirmation forms as you see fit.

Edit your unique resource data. Set the password to %Custom Macro.SuggestPassword%. And turn off your password validation.

Here is my SuggestPassword custom macro:

Dim strPassword

Randomize( )

dim CharacterSetArray

CharacterSetArray = Array( _

Array( 5, “bdfghjmnpqrtvwxz” ), _

Array( 1, “2346789” ))

‘      Array( 5, “abcdefghijklmnopqrstuvwxyz” ), _

‘      Array( 1, “ABCDEFGHIJKLMNOPQRSTUVWXYZ” ), _

‘      Array( 1, “0123456789” ))

dim i

dim j

dim Count

dim Chars

dim Index

dim Temp

for i = 0 to UBound( CharacterSetArray )

Count = CharacterSetArray( i )( 0 )

Chars = CharacterSetArray( i )( 1 )

for j = 1 to Count

Index = Int( Rnd( ) * Len( Chars ) ) + 1

Temp = Temp & Mid( Chars, Index, 1 )

next

next

dim TempCopy

do until Len( Temp ) = 0

Index = Int( Rnd( ) * Len( Temp ) ) + 1

TempCopy = TempCopy & Mid( Temp, Index, 1 )

Temp = Mid( Temp, 1, Index – 1 ) & Mid( Temp, Index + 1 )

loop

RandomString = TempCopy

TempCopy=TempCopy+TempCopy+TempCopy

If Asc(Left(TempCopy,1)) >48 And Asc(Left(TempCopy,1)) <57 Then

TempCopy =”g”+TempCopy

End If

TempCopy=Left(TempCopy,8)
NativeScript = TempCopy

Modify your ticketing.

Edit \Courion Corporation\www\AccountCourier\ACPageMap.asp if needed

 

 

Advertisements

Posted October 28, 2010 by mmdmurphy in Courion Tip

%d bloggers like this: