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