RT::Client::REST::User -- user object representation.
my $rt = RT::Client::REST->new(server => $ENV{RTSERVER}); my $user = RT::Client::REST::User->new( rt => $rt, id => $id, )->retrieve;
RT::Client::REST::User is based on RT::Client::REST::Object. The representation allows to retrieve, edit, comment on, and create users in RT.
Note: RT currently does not allow REST client to search users.
For retrieval, you can specify either the numeric ID of the user or his username. After the retrieval, however, this attribute will be set to the numeric id.
This is the username of the user.
User's password. Reading it will only give you a bunch of stars (what else would you expect?).
E-mail address of the user.
Real name of the user.
Gecos.
Comments about this user.
For full explanation of these, please see "DB METHODS" in RT::Client::REST::Object documentation.
Retrieve RT user from database.
Create or update the user.
Currently RT does not allow REST clients to search users.
Returns 'user'.
RT::Client::REST, RT::Client::REST::Object, RT::Client::REST::SearchResult.
Dmitri Tikhonov <dtikhonov@yahoo.com>
Perl license with the exception of RT::Client::REST, which is GPLed.
To install RT::Client::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Client::REST
CPAN shell
perl -MCPAN -e shell install RT::Client::REST
For more information on module installation, please visit the detailed CPAN module installation guide.