새 그룹을 작성한 후 이를 스키마 저장소에 연관시킵니다.
새 그룹은 기본적으로 모든 데이터베이스에 등록됩니다. Group 오브젝트의 메소드를 사용하여 사용자를 추가하고 그룹을 하나 이상의 데이터베이스에 등록할 때 그룹 또는 사용자는 사용자가 지정한 데이터베이스에만 등록됩니다.
VBScript
adminSession.CreateGroup(groupName)
Perl
$adminSession->CreateGroup(groupName);
VBScript
set adminSession = CreateObject("ClearQuest.AdminSession") adminSession.Logon "admin", "admin", "" set newGroupObj = adminSession.CreateGroup ("Engineers")
Perl
use CQPerlExt; #Create a Rational ClearQuest admin session $adminSession= CQAdminSession::Build(); #Logon as admin $adminSession->Logon( "admin", "admin", "" ); #Create the group "Engineers" object $newGroupObj = $adminSession->CreateGroup( "Engineers" ); #... CQAdminSession::Unbuild($adminSession);