Learn R Programming

crunch (version 1.24.0)

expropriateUser: Expropriate all Crunch objects from a user

Description

If you want to transfer all teams, projects, and datasets owned by one user to another you can with expropriateUser. To use expropriateUser you must be an account admin and be from the same account as the user who is being expropriated. This is useful if a user leaves your organization and you want to transfer all of the teams, projects, and datasets they own to someone else.

Usage

expropriateUser(from, to)

Arguments

from

a character of the email address of the user to expropriate from

to

a character of the email address of the user who should be the new owner

Value

None

Details

Expropriating requires confirmation. In an interactive session, you will be asked to confirm. To avoid that prompt, or to expropriate datasets from a non-interactive session, wrap the call in with_consent() to give your permission to expropriate