Esempio n. 1
0
 public void SetSystemAccess(SecuritySystemAccess access)
 {
     Win32.LsaSetSystemAccessAccount(
         this,
         access
         ).ThrowIf();
 }
        public void SetSystemAccess(SecuritySystemAccess access)
        {
            NtStatus status;

            if ((status = Win32.LsaSetSystemAccessAccount(
                     this,
                     access
                     )) >= NtStatus.Error)
            {
                Win32.Throw(status);
            }
        }
 public static extern NtStatus LsaSetSystemAccessAccount(
     [In] IntPtr AccountHandle,
     [In] SecuritySystemAccess SystemAccess
     );