invite_user_to_projects

Invites a DNAnexus user to be a member of all projects (that the current user has access to in the specified org) with the specified access level. Typically used by an admin to invite himself to all projects in the org, since by default an admin can’t access projects in the org that aren’t shared with him.

usage: invite_user_to_projects.py [-h] [-i INVITEE] -l
                                  {VIEW,UPLOAD,CONTRIBUTE,ADMINISTER} -o ORG
                                  --created-after CREATED_AFTER --log-file
                                  LOG_FILE

Named Arguments

-i, --invitee
The username of the DNAnexus user to invite to join the projects owned by the org specified by --org. You need to be an admin of the org in order to accomplish this. You can even specify your own username, since even admins don’t have access to projects within the org, unless they invite themselves or someone else does. If you want to use your username, you can just omit this option as it will default to the username idenfified by the API key stored in the environment.
-l, --access-level
 

Possible choices: VIEW, UPLOAD, CONTRIBUTE, ADMINISTER

Permissions level the new member should have on shared projects.
-o, --org
The name of the DNAnexus organization that the projects belong to.
--created-after
 
Date (e.g. 2012-01-01) or integer timestamp after which the project was created (negative number means in the past, or use suffix s, m, h, d, w, M, y)
--log-file The name of the log file.