user_list: List user resources (V2)

Description Usage Arguments Details Value Examples

Description

List user resources

Usage

1
user_list(auth_token = NULL, username = NULL, ...)

Arguments

auth_token

auth token.

username

NULL or character.

...

parameters passed to sbgapi function

Details

This call returns a list of the resources, such as projects, billing groups, and organizations, that are accessible to you.

The call will only return a successful response if username is replaced with your own username, unless you are an administrator. If you are an administrator, you can replace username with the username of any CGC user, to return information on their resources.

Value

parsed list of the returned json

Examples

1
2
req <- user_list(token)
req <- user_list(token, username = "test")

sbgr documentation built on Oct. 5, 2016, 4:14 a.m.