CreateGroup

Description

Crée un groupe et l'associe avec le référentiel de schéma.

The new group is subscribed to all databases by default. When you use the methods of the Group object to add users and subscribe the group to one or more databases, the groups or users are subscribed only to those you specify.

Syntaxe

VBScript

adminSession.CreateGroup(groupName) 

Perl

$adminSession->CreateGroup(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 you want to give to the new group.
Valeur de retour
A new Group Object.

Exemples

VBScript

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

set newGroupObj = adminSession.CreateGroup ("Engineers") 

Perl

use CQPerlExt;

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

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

#Create the group "Engineers" object
$newGroupObj = $adminSession->CreateGroup( "Engineers" );

#...

CQAdminSession::Unbuild($adminSession); 

Commentaires