Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-17-2010, 11:21 AM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
Question Storing encypted password on one step?

I have a LOT of StarTeam steps in my script, which of course requires a username and a password. Anyway to store an encrypted password in one step, and then use it via %PASSWORD% where password is required for all the StarTeam steps?
Reply With Quote
  #2  
Old 02-17-2010, 11:27 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Put the password in an encrypted macro, then reference that macro in the password fields of each step.
http://www.kinook.com/VisBuildPro/Ma...properties.htm
Reply With Quote
  #3  
Old 02-17-2010, 12:12 PM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
I have VBPro 7.2, and when setting up a Set Macro step, I don't see an option to encrypt the value.
Reply With Quote
  #4  
Old 02-17-2010, 12:18 PM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
I see it now. I go to the Macro tab and right-click it there.
Reply With Quote
  #5  
Old 02-17-2010, 12:22 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The Set Macro action doesn't currently support encrypting the value. Add the macro manually in the Macros pane, or use script like this in a Run Script action:

Application.Macros(vbldMacroTemporary).AddEx "PASSWORD", "password", , , , True

http://www.kinook.com/VisBuildPro/Ma...ddexmethod.htm
Reply With Quote
  #6  
Old 03-11-2010, 10:20 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
This is now supported in the Set Macro action in v7.5.
http://www.kinook.com/Forum/showthre...?threadid=4415
http://www.kinook.com/VisBuildPro/Ma...acroaction.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:46 AM.


Copyright © 1999-2023 Kinook Software, Inc.