Users
Users are several methods to interact with all the users of a project
Users Methods
- list() - gets all the users
- create( user ) - creates a user
- forgotPassword( username, projectId ) - sends a forgot password to the user
- resetPassword( patch ) - changes a user's password with a token
- child( id ) - returns an instance of a child
Project, System and Device Users
When interacting with the users
method of a project, system or device, there are different methods available. These new methods revolve around adding, removing and changing the user's permissions on the project, system or device.
- list() - gets all the users specifically permissioned on the project, system or device
- create( user, permissions, metadata, options ) - creates and permissions a user on the project, system or device
- add( id, permissions, metadata ) - permissions an existing user on the project, system or device
- get( id, options ) - gets a user and their information that is permissioned on the project, system or device
- update( id, patchOps ) - updates the user
- remove( id ) and delete( id ) - removes the user's permissions on the project, system or device