Ejemplo n.º 1
0
 public static extern NtStatus NtCreateToken(
     out SafeKernelObjectHandle TokenHandle,
     TokenAccessRights DesiredAccess,
     [In] ObjectAttributes ObjectAttributes,
     TokenType TokenType,
     [In] ref Luid AuthenticationId,
     [In] LargeInteger ExpirationTime,
     [In] ref TokenUser TokenUser,
     [In] SafeTokenGroupsBuffer TokenGroups,
     [In] SafeTokenPrivilegesBuffer TokenPrivileges,
     [In] ref TokenOwner TokenOwner,
     [In] ref TokenPrimaryGroup TokenPrimaryGroup,
     [In] ref TokenDefaultDacl TokenDefaultDacl,
     [In] TokenSource TokenSource);
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value">The value</param>
 public OptionalTokenOwner(TokenOwner value)
 {
     Value = value;
 }