Added property to store default user group for a given folder.
This commit is contained in:
parent
831f90c8d6
commit
a7562422b2
@ -1101,5 +1101,25 @@ namespace VEPROMS.CSLA.Library
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
#region SecuritySetting
|
||||
[Category("Security Settings")]
|
||||
[Browsable(false)]
|
||||
[DisplayName("Security Group")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
[Description("Security Initial User Group")]
|
||||
public int Security_Group
|
||||
{
|
||||
get
|
||||
{
|
||||
string sRole = _Xp["Security", "Group"];
|
||||
return int.Parse("0" + sRole);
|
||||
}
|
||||
set
|
||||
{
|
||||
_Xp["Security", "Group"] = value.ToString();
|
||||
OnPropertyChanged("Security_Group");
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user