Syntax:
String GetGroupInfo(String sWhat)
Parameters:
sWhat | (String) Obtained information type.
|
---|
Return value:
If an error occures, then the method returns:
null for
JavaScript or
Empty for
VBScript (it can be tested by the
Pm.IsValid method).
Note:
This method is also functional in
Web panels. The method must be called after the
onConnect event is triggered (or any time later) and therefore is not functional in the
onStart event.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oViewer = pMe.Items("/Viewer");
var sTitle = oViewer.GetGroupInfo("grouptitle");
Dim oViewer
Set oViewer = pMe.Items("/Viewer")
Dim sTitle
sTitle = oViewer.GetGroupInfo("grouptitle")