There are 2 tools that you use to manage your application data: SsoManage.exe and BTSScnSSOApplicationConfig.exe.
SsoManage.exe can be found at “C:\Program Files\Common Files\Enterprise Single Sign-On”
But for testProperty, you need to actually build it. Do this by browsing to “BT Server\MSI\Program Files\SDK\Scenarios\Common\SSOApplicationConfig\bin” folder (the folder is extracted when you unzip the Developer edition of BizTalk).
Once in the SSOApplicationConfig folder, run “Setup.Bat”, which will build “BTSScnSSOApplicationConfig.exe” for you.
Commands:
SsoManage:
SsoManage uses an xml file to define an application and a list of config properties. Here is an example:
<?xml version="1.0" encoding="utf-8"?>
<sso>
<application name="MyTestApp">
<description>My first app</description>
<appUserAccount>BizTalk Application Users</appUserAccount>
<appAdminAccount>BizTalk Server Administrators</appAdminAccount>
<field ordinal="0" label="dummyDoNotUseOrDelete" masked="no" />
<field ordinal="1" label="testProperty" masked="no" />
<flags configStoreApp="yes" allowLocalAccounts="yes" enableApp="yes" />
</application>
</sso>
You import the XML using the SsoManage –CreateApp “xmlfile” command.
BTSScnSSOApplicationConfig:
And you set property values using:
btsscnssoapplicationconfig -set MyTestApp "ConfigProperties" "testProperty" "testConnectionString"
And you get property values using:
btsscnssoapplicationconfig -get MyTestApp "ConfigProperties" "testProperty"
No comments:
Post a Comment
Remember, if you want me to respond to your comment, then you need to use a Google/OpenID account to leave the comment.