Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

LsaSetDomainInformationPolicy function

The LsaSetDomainInformationPolicy function sets domain information to the Policy object.

Syntax


NTSTATUS NTAPI LsaSetDomainInformationPolicy (
  _In_  LSA_HANDLE PolicyHandle,
  _In_  POLICY_DOMAIN_INFORMATION_CLASS InformationClass,
  _In_  PVOID Buffer
);

Parameters

PolicyHandle [in]

A handle to the Policy object for the system.

InformationClass [in]

POLICY_DOMAIN_INFORMATION_CLASS enumeration that specifies the information to be set to the Policy object. The following table shows the possible values.

ValueMeaning
PolicyDomainEfsInformation

The information is for Encrypting File System.

PolicyDomainKerberosTicketInformation

The information is for a Kerberos ticket.

 

Buffer [in]

Pointer to a buffer that contains the information to set to the Policy object.

Return value

If the function succeeds, the return value is STATUS_SUCCESS.

If the function fails, the return value is an NTSTATUS code, which can be the following value or one of the LSA Policy Function Return Values.

Return code/valueDescription
STATUS_INTERNAL_DB_CORRUPTION

The policy database is corrupt. The returned policy information is not valid for the given class.

 

Remarks

The POLICY_TRUST_ADMIN access type is required to set domain information to the Policy object. For more information, see Policy Object Access Rights.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

Library

Advapi32.lib

DLL

Advapi32.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.