public getAccountRole ( string $accountRoleId, integer $accountId = null ) : Scalr\Acl\Role\AccountRoleObject | ||
$accountRoleId | string | The ID of the account role |
$accountId | integer | optional Restricts result by identifier of the account |
return | Scalr\Acl\Role\AccountRoleObject | Returns AccountRoleObject for the specified ID of account role. It returns null if object does not exist. |