17 using System.Configuration;
27 private static ConfigurationProperty _user;
28 private static ConfigurationPropertyCollection _properties;
32 _user =
new ConfigurationProperty(
"user", typeof(
string),
33 null, ConfigurationPropertyOptions.IsKey);
35 _properties =
new ConfigurationPropertyCollection();
36 _properties.Add(_user);
43 [ConfigurationProperty(
"user", DefaultValue =
"", IsKey =
true, IsRequired =
true)]
46 get {
return (
string)base[_user]; }
49 protected override ConfigurationPropertyCollection Properties
51 get {
return _properties; }
string User
The user from the Users section in
.exe.config.
A user's domain (login) ID or email address from the Users section in
.exe.config.