![]() |
The following steps describe how to retrieve an array of handles corresponding to ACL user entries.
1. Retrieve the instance of AMT_ AuthorizationService, where the “Name” key equals “Intel(r) AMT Authorization Service”.
2. Invoke AMT_AuthorizationService.EnumerateUserAclEntries with the following parameters:
Parameter | Value |
StartIndex | ‘1’ – For the first entry |
3. TotalCount returns the total number of ACL entries. HandlesCount is the number of handles returned in this call. Handles is a list of returned ACL entry handles. If the output parameter HandlesCount is not equal to the output parameter TotalCount repeat step 3, but set the StartIndex Parameter to sum of HandlesCount that were received in previous calls+ 1.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$authorizationServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_AuthorizationService WHERE Name='Intel(r) AMT Authorization Service'")
$inputObject =$authorizationServiceRef.CreateMethodInput("EnumerateUserAclEntries")
$inputObject.SetProperty("StartIndex","1")
$outputObject =$authorizationServiceRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
if($returnValue -like "0")
{
$totalCount =$outputObject.GetProperty("TotalCount")
$handlesCount =$outputObject.GetProperty("HandlesCount")
$handles =$outputObject.GetProperty("Handles")
}
Instance Diagram
Not applicable
Classes Used in This Flow
SDK Sample
If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.>
See Also: |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |