An information processing apparatus comprising: a storage unit configured to store available resource information indicating a resource available to a user; and a processing unit (864, 865) configured to: upon receiving from a first apparatus an acquisition request of a ticket, generate the ticket including command information indicating a command to be executed in accessing of the resource available to the user, based on the available resource information, wherein the generated ticket indicates a use right of the resource available to the user and the first apparatus is being a terminal apparatus used by the user; transmit the ticket to the first apparatus; and upon receiving the ticket from a second apparatus that acquired the ticket via the first apparatus, execute the command indicated by the command information included in the ticket, wherein executing the command comprises acquiring from the storage unit and transmitting to the second apparatus personal data of the user, or executing the command comprises controlling equipment connected to the information processing apparatus, wherein the processing unit (864, 865) is configured to encode a script using a key and store the key in a memory, the script including the command, generate the ticket including the encoded script as the command information and, upon receiving the ticket from the second apparatus, use the key stored in the memory to decode the encoded script to generate the script, wherein executing the command indicated by the command information comprises executing the command included in the script. a storage unit configured to store available resource information indicating a resource available to a user; and a processing unit (864, 865) configured to: upon receiving from a first apparatus an acquisition request of a ticket, generate the ticket including command information indicating a command to be executed in accessing of the resource available to the user, based on the available resource information, wherein the generated ticket indicates a use right of the resource available to the user and the first apparatus is being a terminal apparatus used by the user; transmit the ticket to the first apparatus; and upon receiving the ticket from a second apparatus that acquired the ticket via the first apparatus, execute the command indicated by the command information included in the ticket, wherein executing the command comprises acquiring from the storage unit and transmitting to the second apparatus personal data of the user, or executing the command comprises controlling equipment connected to the information processing apparatus, upon receiving from a first apparatus an acquisition request of a ticket, generate the ticket including command information indicating a command to be executed in accessing of the resource available to the user, based on the available resource information, wherein the generated ticket indicates a use right of the resource available to the user and the first apparatus is being a terminal apparatus used by the user; transmit the ticket to the first apparatus; and upon receiving the ticket from a second apparatus that acquired the ticket via the first apparatus, execute the command indicated by the command information included in the ticket, wherein executing the command comprises acquiring from the storage unit and transmitting to the second apparatus personal data of the user, or executing the command comprises controlling equipment connected to the information processing apparatus, wherein the processing unit (864, 865) is configured to encode a script using a key and store the key in a memory, the script including the command, generate the ticket including the encoded script as the command information and, upon receiving the ticket from the second apparatus, use the key stored in the memory to decode the encoded script to generate the script, wherein executing the command indicated by the command information comprises executing the command included in the script.