BuildForge::API::User
my $User = new BuildForge::API::User(); $User->{'name'} = "The API User"; $User->{'login'} = "apiuser"; $User->{'password'} = "apiuser"; $User->Create();
This is available to use after a BuildForge::API object has been instantiated. It is used to create and delete users defined in the BuildForge console.
new({UserParamsHashRef})
Create an object to access existing user information, or to add a new user to the BuildForge console.
Create()
Create a new BuildForge user. Requires the objects 'name', 'login', and 'password' to be set.
Sync()
Syncs the user object with the corresponding user data from the database. The user object must have any of 'name', 'login', 'user_id' or 'email_address' for this method to succeed.
Delete()
Deletes a user account, will not allow you to delete userid 1 (root). Requires 'name' or 'userid' variables to be set.
BuildForge, Inc.