![]() |
The following steps describe how to retrieve the username of the admin user.
1. Retrieve the instance of AMT_ AuthorizationService, where the “Name” key equals “Intel(r) AMT Authorization Service”.
2. Invoke AMT_AuthorizationService.GetAdminAclEntry without any parameters.
3. The output parameter Username contains the username of the Admin ACL entry.
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("GetAdminAclEntry")
$outputObject =$authorizationServiceRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
if($returnValue -like "0")
{
$username =$outputObject.GetProperty("Username")
}
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. |