Finally Getting the Hang of It

Started by stanl, June 17, 2013, 11:01:51 AM

Previous topic - Next topic

stanl

works well:

;Winbatch 2013 - CLR Generate Password
;
;
;Stan Littlefield June 17, 2013
;////////////////////////////////////////////////////////////////////////////////////////////////////////
pwklength=9
pwnoalpha=4
ObjectClrOption("use","System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
oSecure = ObjectClrNew('System.Web.Security.Membership')   
cPw =  oSecure.GeneratePassword(pwklength,pwnoalpha)
oSecure=0
Message("",cPW)
Exit 

Deana

Deana F.
Technical Support
Wilson WindowWare Inc.