Hi,in the TS5.x style cgi's one could get tje user_name, domain, role via a cgi-param.How can I get to this info in the TS6.x style cgi interface (while not using the wdpro_menu.ipl)?Cheers, Ronald
my $user_name = $cgi->{form}{user_name};What more can I explain about this?
my $cgi = TeamSite::CGI_lite->new();$cgi->parse_data();my $username = $cgi->{'cookie'}{'iw_user'};my $userrole = $cgi->{'cookie'}{'iw_role'};(my $branch_path = $cgi->{'form'}{'cwd.vpath'}) =~ s%/[WORKAREA|STAGING|EDITION].*$%%;# in TS 5.5 the branchpath variable had the mountpath (/iwmnt) at the beginning# in TS 6.5 there is no mountpath on cwd.vpath, but there is //servername. That doesn't bother us, so leaving that as is.
This is not true.During the TS5.5.x to 6.x transistion all cgi-params have been replaced by a vpath-param. Params for user_name, user_role & domain seem to have disappeared (as far as I know). See attachment.If your cgi's still have access to user_name etc you are most likely to use the (deprecated) wdpro_menu.ipl-wrapper.So my question is still unchanged:How to retrieve the user_name in a (menu-)cgi when NOT using wdpro_menu.ipl?Cheers, Ronald
$cgi->{cookie}{iw_user}
TeamSite::Flexroles