IAzAuthorizationStore3::UpgradeStoresFunctionalLevel method (azroles.h)

The UpgradeStoresFunctionalLevel method upgrades this authorization store from version 1 to version 2.

Syntax

HRESULT UpgradeStoresFunctionalLevel(
  [in] LONG lFunctionalLevel
);

Parameters

[in] lFunctionalLevel

Specifies the version to which to upgrade the authorization store. Set the value of this parameter to AZ_AZSTORE_NT6_FUNCTION_LEVEL

Return value

If the method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

Remarks

If the authorization store being updated is an Active Directory store, this method checks whether the LDAP schema of the Active Directory store is updated. If the LDAP schema of the Active Directory store is not updated, the authorization store is not updated.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header azroles.h