Home » Password Control - Password Control - General » Config Domain List and Property Attributes Messages in this topic - RSS
|
12/10/2010 1:13:43 PM
mickie0630
mickie0630
Posts 2
I love your app! Looking for the format required in the Config file to define a list of domains and attributes? I know that I can set these values in settings for my profile but I would prefer to set them in the Password Control Config file.

<setting name="DomainList" serializeAs="String">
<value />
</setting>

When I add to this list, the properties do not display??
</setting>
<setting name="PropertiesToLoad" serializeAs="Xml">
<value>
<list>
<Item Key="givenName" Value="First Name" />
<Item Key="sn" Value="Surname" />
<Item Key="initials" Value="Initials" />
<Item Key="displayName" Value="Display Name" />
<Item Key="description" Value="Description" />
<Item Key="telephoneNumber" Value="Tel" />
<Item Key="physicalDeliveryOfficeName" Value="Office" />
<Item Key="mail" Value="E-mail" />
<Item Key="wWWHomePage" Value="Home Page" />
12/14/2010 11:33:57 AM
admin
admin
Posts 331
Hi,

There are two different types of settings - application and user. Application settings will apply to all users of the application and they are located under the "<applicationSettings>" node. Some of the advanced configuration options can be set in the config file here and they will apply globally to all users.

The settings you've mentioned can also be found in the application configuration file under the "<userSettings>" node. When you load the application for the first time, these settings will initially be read from the PasswordControl.exe.config file, but a user.config file will get created in the users profile. The next time the user loads Password Control, the settings will be read from their own user.config file - any changes to the settings in the PasswordControl.exe.config file will be ignored. So you can make modifications to the user settings in the config file, but they will only be used as the default values when a user runs the application for the first time.

Hope this helps,

David
pages: 1
|

Home » Password Control - Password Control - General » Config Domain List and Property Attributes