def _my_roles(self, opts):
    if (opts.rbac_user is not None):
        _warning('--rbac-username is not used with the --my-roles option')
    if (opts.rbac_pass is not None):
        _warning('--rbac-password is not used with the --my-roles option')
    if (opts.rbac_name is not None):
        _warning('--rbac-name is not used with the --my-roles option')
    if (opts.roles is not None):
        _warning('--roles is not used with the --my-roles option')
    if (opts.auth_domain is not None):
        _warning('--auth-domain is not used with the --my-roles option')
    (result, errors) = self.rest.my_roles()
    _exit_if_errors(errors)
    print(json.dumps(result, indent=2))
def _my_roles(self, opts):
    if (opts.rbac_user is not None):
        _warning('--rbac-username is not used with the --my-roles option')
    if (opts.rbac_pass is not None):
        _warning('--rbac-password is not used with the --my-roles option')
    if (opts.rbac_name is not None):
        _warning('--rbac-name is not used with the --my-roles option')
    if (opts.roles is not None):
        _warning('--roles is not used with the --my-roles option')
    if (opts.auth_domain is not None):
        _warning('--auth-domain is not used with the --my-roles option')
    (result, errors) = self.rest.my_roles()
    _exit_if_errors(errors)
    print(json.dumps(result, indent=2))