Get OPM account commands

This method gets a list of the privileged commands (OPM rules) associated with this account.

URL

 

Make sure there are no spaces in the URL.

The following characters are not supported in URL values: + & %

 

 
https://<IIS_Server_Ip>/PasswordVault/WebServices/PIMServices.svc/Account/{AccountAddress}|{AccountUserName}|{AccountPolicyId}/PrivilegedCommands

The following mandatory value is required in the URL:

Parameter

AccountAddress

Type

String

Description

The address of the account whose privileged commands will be listed.

Parameter

AccountUserName

Type

String

Description

The name of the account’s user.

Parameter

AccountPolicyId

Type

String

Description

The Policy ID associated with this account.

Resource information

HTTP method

GET

Content type

application/json

Header parameter

Parameter

Authorization

Type

String

Description

The token that identifies the session.

Valid values

A session token that was returned from the “Logon” method.

Body parameters

None

Result

 
{

"ListAccountPrivilegedCommandsResult":

[

{"Command":"<command>",

"CommandGroup":"<true/false>",

"Id":"<number>",

"Type":"<Policy/Account>",

"IsGroup":"<true/false>",

"PermissionType":"<Allow/Deny>",

"PolicyId":"<policyID>",

"Restrictions":"<restrictions string, delimeted by ;>",

"UserName":"<userName>"},

{…},

{…}

]

}

Return codes

For a complete list of return codes, see Return Codes.