GetGroup

Description

Returns the group object with the specified name.

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

Syntax

Perl


$adminSession->GetGroup(groupName); 
Identifier
Description
adminSession
The AdminSession object representing the current schema repository access session.
groupName
A String containing the name of the database object you want.
Return value
The Group Object with the specified name, or null if no such group exists.

Example

Perl


use CQPerlExt;

#Create a DevOps Plan admin session
$adminSession= CQAdminSession::Build();

#Logon as admin
$adminSession->Logon( "admin", "admin", "" );

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

#...

CQAdminSession::Unbuild($adminSession);