Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

12.1 ctac_getauthority (Acquiring Information about Access Authority)

Name

[Windows Manager]
Installation_folder\RCXCTMG\SecurityManagement\bin\ctac_getauthority - Acquiring Information about Access Authority

[Linux Manager]
/opt/FJSVctsec/bin/ctac_getauthority.sh - Acquiring Information about Access Authority

Synopsis

[Windows Manager]

ctac_getauthority -r role name -f output file name [-o]

[Linux Manager]

ctac_getauthority.sh -r role name -f output file name [-o]

Function description

Information about L-Platform access authority for tenant users and tenant administrators is output as XML files.

The file format for access authority information is as indicated below.

The output format for access authority information files is indicated below.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AccessAuthoritySet>
    <AccessAuthority>
        <RoleName>Rolll Name</RoleName>
        <ActionSet>
            <Allow>
                <Action>Action ID</Action>
                ...
            </Allow>
            <NotAllow>
                <Action>Action ID</Action>
                ...
            </NotAllow>
        </ActionSet>
    </AccessAuthority>
</AccessAuthoritySet>

A description of each tag is provided below.

Tag name

Description

RoleName

Outputs the role name of the acquisition target.

Allow

Outputs the allowed action ID to the lower tag.

NotAllow

Outputs the disallowed action ID to the lower tag.

Action

Outputs the action ID.

Refer to "Table 12.1 Default values of the Action IDs versus each Role" of the action IDs.

Options

-r

Specify one of the following two role names for the acquisition target:

  • tenant_admin

  • tenant_user

-f

Specify the output file name.

If the directory path is not included, this will be created in the current directory.

-o (optional)

If an output file with the same name already exists, it will be overwritten.

An error will be output if this parameter is omitted and a file with the same name already exists.

Requirements

Permissions

Infrastructure administrator with OS administrator privilege

Location

Admin server

Example

This is the coding for acquiring access authority information for tenant users.

[Windows Manager]
> ctac_getauthority -r tenant_user -f out.xml
[Linux Manager]
# ctac_getauthority.sh -r tenant_user -f out.xml

Exit Status

This command returns the following values:

0

The command executed successfully.

2

An error has occurred.