
TAM::Admin::GSO::Credential

use TAM::Admin;
# Connect to the policy server as sec_master
my $pdadmin = TAM::Admin->new('sec_master', 'password');
# Get the GSO resource 'winnt'
my $gso = $pdadmin->get_gso(resource => 'winnt');
# Get the credential for 'bob'
my $cred = $gso->get_cred('bob');
# Print basic information for this credential
print 'GSO Label: ', $cred->id, "\n";
print 'GSO type: ', $cred->type, "\n";
print 'TAM ID: ', $cred->owner, "\n";
print 'Credential username: ', $cred->user, "\n";

TAM::Admin::GSO::Credential is a support module for the TAM::Admin module.

Return the GSO label of the credential.
Return the TAM ID of the user tied to the credential.
Returns the username of the credential.
Returns the password of the credential.
Returns the credential type, i.e. 'group' or 'resource'.
Deletes the credential. Besure to undef the object, since it will no longer be valid.
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).