Top
Cloud Services Management V1.0.0 Operation Guide
FUJITSU Software

5.2.2 User Operation Commands

Command Name

fscsm_user

Format
fscsm_user create -file input-file
fscsm_user modify -file input-file
fscsm_user delete -userId userID
fscsm_user export [-orgId organizationID | -userId userID] -file output-file
fscsm_user list [-orgId organizationID]
Description

Performs registration, modification, deletion, and outputting of user information.

Subcommands
create -file input-file

Registers user information.

In input-file, enter the name of the file containing the user information to be registered. For details on the format of the file, refer to "5.3.2 User Information".

modify -file input-file

Updates user information. Only the information of a single user can be modified at one time.

In input-file, enter the name of the file containing the user information to be modified. For details on the format of the file, refer to "5.3.2 User Information".

delete -userId userID

Deletes user information.

In userID, specify the user ID to be deleted.

export [-orgId organizationID | -userId userID] -file output-file

Outputs user information as an XML file.

organizationID and userID can be omitted. However, it is possible to narrow down the target user information by specifying either one of them.

In organizationID, specify the organization ID. In userID, specify the user ID.

In output-file, specify the file name using a character string containing alphanumeric characters, hyphens, underscores, and periods. For details on the format of the file, refer to "5.3.2 User Information".

When the specified file already exists, an error occurs.

list [-orgId organizationID]

Displays the registered user information in the prompt window.

-orgId organizationID can be omitted. If specified, only the information of the users belonging to that organization will be output. If not specified, the information for all users will be output.

The following items are displayed in the ascending order of user IDs.

  • User ID

  • User name

  • Organization ID

  • Role


Example
  • When registering user information

    >fscsm_user create -file adduser.xml<RETURN>
  • When modifying user information

    >fscsm_user modify -file upduser.xml<RETURN>
  • When deleting the user information whose user ID is user-6

    >fscsm_user delete -userId user-6<RETURN>
  • When outputting the user information of A Unit (Organization ID is 101) as a file

    >fscsm_user export -orgId 101 -file userdata_A.xml<RETURN>
  • When outputting the user information whose user ID is user-6 as a file

    >fscsm_user export -userId user-6 -file userdata_user-6.xml<RETURN>
  • When outputting all user information as a file

    >fscsm_user export -file userdata_ALL.xml<RETURN>
  • When outputting the user information of A Unit (organization ID is 101) to the screen

    >fscsm_user list -orgId 101<RETURN>
    userId              username             orgId              roleId
    ------------------------------------------------------------------------------------------------
    user-1              Ichiro_Fujitsu         101                bizSysProv_manager
    user-2              Jiro_Fujitsu           101                bizSysProv_manager
    user-3              Saburo_Fujitsu         101                bizSysProv_user
  • When outputting all user information to the screen

    >fscsm_user list<RETURN>
    userId              userName             orgId              roleId
    ----------------------------------------------------------------------------------------------
    user-1              Ichiro_Fujitsu         101                bizSysProv_manager
    user-2              Jiro_Fujitsu           101                bizSysProv_manager
    user-3              Saburo_Fujitsu         101                bizSysProv_user
    user-b1             Taro_Fuji              !mgr               operation_manager

Information

In the case of users belonging to operators and planners, the orgIds are displayed as "!mgr".

Each role name corresponds to the following:

planEval_manager

Approver of the planners

planEval_user

Representative of the planners

operation_manager

Approver of the operators

operation_user

Representative of the operators

bizSysProv_manager

Approver of the platform providers

bizSysProv_user

Representative of platform providers