CreateGroup

설명

새 그룹을 작성한 후 이를 스키마 저장소에 연관시킵니다.

새 그룹은 기본적으로 모든 데이터베이스에 등록됩니다. Group 오브젝트의 메소드를 사용하여 사용자를 추가하고 그룹을 하나 이상의 데이터베이스에 등록할 때 그룹 또는 사용자는 사용자가 지정한 데이터베이스에만 등록됩니다.

구문

VBScript

adminSession.CreateGroup(groupName) 

Perl

$adminSession->CreateGroup(groupName); 
ID
설명
adminSession
현재 스키마 저장소 액세스 세션을 나타내는 AdminSession 오브젝트.
groupName
새 그룹에 부여할 이름을 포함하는 문자열.
Return value
Group 오브젝트.

예제

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);

피드백