/// <summary>Initializes a new instance of the <see cref="Rights"/> class.</summary>
 /// <param name="parent">The parent.</param>
 /// <param name="userName">Name of the user.</param>
 public SystemAccess(LocalSecurity parent, string userName = null)
 {
     ctrl = parent; user = userName ?? CurrentUserName;
 }
 /// <summary>Initializes a new instance of the <see cref="Rights"/> class.</summary>
 /// <param name="parent">The parent.</param>
 /// <param name="userName">Name of the user.</param>
 public Rights(LocalSecurity parent, string userName = null)
 {
     ctrl = parent; user = userName ?? CurrentUserName;
 }