users_create_remote: Create a Remote User

View source: R/remote.R

users_create_remoteR Documentation

Create a Remote User

Description

The remote user creation workflow involves authentication providers like LDAP that involve a queryable identity store. This helper wraps the API calls necessary to retrieve information about and then create such a user. It functions with a "fuzzy match" prefix by default, but if you want to instantiate users directly, you should set exact = TRUE.

Usage

users_create_remote(connect, prefix, expect = 1, check = TRUE, exact = FALSE)

Arguments

connect

A R6 Connect object

prefix

character. The prefix of the user name to search for

expect

number. Optional. The number of responses to expect for this search

check

boolean. Optional. Whether to check for local existence first

exact

boolean. Optional. Whether to only create users whose username exactly matches the provided prefix.

Details

NOTE: there can be problems with usernames that are not unique. Please open an issue if you run into any problems.

Value

The results of creating the users


connectapi documentation built on Feb. 16, 2023, 7:46 p.m.