GetGroup

Description

Renvoie l'objet de groupe avec le nom spécifié.

The groupName parameter corresponds to the value in the Name of the Group object.

Syntaxe

VBScript

adminSession.GetGroup (groupName) 

Perl

$adminSession->GetGroup(groupName); 
Identificateur
Description
adminSession
L'objet AdminSession représentant la session d'accès du référentiel de schéma en cours.
groupName
A String containing the name of the database object you want.
Valeur de retour
The Group Object with the specified name, or null if no such group exists.

Exemple

VBScript

set adminSession = CreateObject("ClearQuest.AdminSession")
adminSession.Logon "admin", "admin", ""

set groupObj = adminSession.GetGroup ("Engineers") 

Perl

use CQPerlExt;

# Créez une session admin Rational ClearQuest
$adminSession= CQAdminSession::Build();

#Connectez-vous en tant qu'admin
$adminSession->Logon( "admin", "admin", "" );

#Get the group "Engineers" object
$groupObj = $adminSession->GetGroup( "Engineers" );

#...

CQAdminSession::Unbuild($adminSession); 

Commentaires