コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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;
 }