Retrieves the name of the user group to which the current virtual user belongs.
Kernel.bdh
GetUsergroup(): string;
The name of the user group.
dcluser user TestUser transactions TGetUsergroup : 1; dcltrans transaction TGetUsergroup var sUsergroup: string; begin sUsergroup := GetUsergroup(); write("user group = "); write(sUsergroup); writeln; end TGetUsergroup;
user group = TestUser