Scroll to navigation

RT::Client::REST::User(3pm) User Contributed Perl Documentation RT::Client::REST::User(3pm)

NAME

RT::Client::REST::User - user object representation.

VERSION

version 0.72

SYNOPSIS

  my $rt = RT::Client::REST->new(server => $ENV{RTSERVER});
  my $user = RT::Client::REST::User->new(
    rt  => $rt,
    id  => $id,
  )->retrieve;

DESCRIPTION

RT::Client::REST::User is based on RT::Client::REST::Object. The representation allows one to retrieve, edit, comment on, and create users in RT.

Note: RT currently does not allow REST client to search users.

ATTRIBUTES

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?).
Can the user have special rights?
Can this user access RT?
E-mail address of the user, EmailAddress.
Real name of the user, RealName.
Gecos.
Comments about this user.
Nickname of this user.
Language for this user.
First line of the street address, Address1.
Second line of the street address, Address2.
City segment of user's address.
ZIP or Postal code segment of user's address.
Country segment of user's address.
User's home phone number, HomePhone.
User's work phone number, WorkPhone.
User's cell phone number, MobilePhone.
User's pager number, PagerPhone.
Contact info (Extra Info field).
Signature for the user.

DB METHODS

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.

INTERNAL METHODS

Returns 'user'.

SEE ALSO

RT::Client::REST, RT::Client::REST::Object, RT::Client::REST::SearchResult.

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023, 2020 by Dmitri Tikhonov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2023-12-21 perl v5.36.0