The GetClientConfigPolicies Windows Management Instrumentation (WMI) class method, in Configuration Manager, gets all site-wide client configuration policies and their corresponding policy assignments.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
SInt32 GetClientConfigPolicies( String PolicyXmls, String PolicyAssignmentXmls );
- Data type: String ArrayQualifiers: [out]The XML representations of all site-wide client configuration policies.
- Data type: String ArrayQualifiers: [out]The XML representations of all site-wide client configuration policy assignments. This parameter and PolicyXmls are aligned, with the nth element of one corresponding to the nth element of the other.
An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.
For information about handling returned errors, see About Configuration Manager Errors.
The site-wide client configuration policies can contain sensitive information, such as the network access account. Sensitive information is obfuscated in the XML, but the strings should still be handled according to best security practices.
To invoke this method, you must have read permission for the Configuration Manager site object.
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.
Send comments about this topic to Microsoft.