gophercloud: github.com/rackspace/gophercloud/rackspace/identity/v2/roles Index | Files

package roles

import "github.com/rackspace/gophercloud/rackspace/identity/v2/roles"

Index

Package Files

delegate.go

func List Uses

func List(client *gophercloud.ServiceClient) pagination.Pager

List is the operation responsible for listing all available global roles that a user can adopt.

type UserRoleResult Uses

type UserRoleResult struct {
    gophercloud.ErrResult
}

UserRoleResult represents the result of either an AddUserRole or a DeleteUserRole operation.

func AddUserRole Uses

func AddUserRole(client *gophercloud.ServiceClient, userID, roleID string) UserRoleResult

AddUserRole is the operation responsible for assigning a particular role to a user. This is confined to the scope of the user's tenant - so the tenant ID is a required argument.

func DeleteUserRole Uses

func DeleteUserRole(client *gophercloud.ServiceClient, userID, roleID string) UserRoleResult

DeleteUserRole is the operation responsible for deleting a particular role from a user. This is confined to the scope of the user's tenant - so the tenant ID is a required argument.

Package roles imports 3 packages (graph) and is imported by 1 packages. Updated 2016-07-23. Refresh now. Tools for package owners.