TAM::Admin::Group - Perl extension for TAM Admin API
use TAM::Admin; # Connect to the policy server as sec_master my $pdadmin = TAM::Admin->new('sec_master', 'password'); # Get the iv-admin group and print basic information my $group = $pdadmin->get_group('iv-admin'); print 'Group ID: ', $group->id, "\n"; print 'Group CN: ', $group->cn, "\n"; print 'Group DN: ', $group->dn, "\n";
TAM::Admin::Group is a support module for the TAM::Admin module.
Return the TAM ID of the group.
Return the LDAP CN of the group.
Returns the LDAP DN of the group.
Return the current description of the group. The method will set the description to the value of the first parameter, if passed.
Remove the group from TAM only. This method is equivalent to the following pdadmin command.
pdadmin> group delete <userid>
Remove the group from TAM and LDAP. This method is equivalent to the following pdadmin command.
pdadmin> group delete -registry <userid>
Returns true if the last action was successful.
Returns true if the last action was unsuccessful.
Returns the error message for the last action. The index will specify which error message to return if the last action resulted in more that one error condition. The index is 0 based.
Returns the error code for the last action. The index will specify which error code to return if the last ction resulted in more that one error condition. The index is 0 based.
Returns the number of errors generated for the last action.
George Chlipala, george@walnutcs.com
perl(1).
To install TAM::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TAM::Admin
CPAN shell
perl -MCPAN -e shell install TAM::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.