Group - getAQualifiedGroupName
Group - getAQualifiedGroupName
Description :
This command accepts a group type and group ID, and returns the fully qualified group name.
For groupType, use one of the following integers:
- Job Group: 5005
- Smart Job Group: 5006
- Server Group: 5003
- Smart Server Group: 5007
- Depot Group: 5001
- Smart Depot Group: 5012
- Template Group: 5008
- Smart Template Group: 5016
- Component Group: 5014
- Smart Component Group: 5015
- System Package Group: 5025
Return type : String
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupType | Integer | The type of the group. |
groupId | Integer | The ID of the group. |
Example
The following example gets the qualified group name of a job group.
Script
JOBGROUP_SUB2="/parent/sub1/sub2"
JOBGROUP_SUB2_ID=`blcli JobGroup groupNameToId $JOBGROUP_SUB2`
blcli Group getAQualifiedGroupName 5005 $JOBGROUP_SUB2_ID
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*