[mapguide-users] Pulling USERNAME from MapGuide

Hidekazu Shimaji hshimaji at ybb.ne.jp
Fri May 25 23:58:25 EDT 2007


Hello,

I don't think it is possible to get a username which is logging in.
Why don't you keep the username in a web session at the log on page?
I mean that you should post back first, then redirect to the web layout.

Regards,
Hidekazu

--- Rich Bauer <rdbauer at gmail.com> wrote:

> Hi all,
> 
> I am new to this mailing list, so I don't know if this question has been 
> asked before (I also tried to find it in the archive with no success).  
> The question is I am trying to let the "user" access the data intended 
> for them. 
> 
> Example:  User "Bill" logs on using a log on page and is taken to the 
> weblayout and everything just fine.  Then when "Bill" tries to access a 
> command that creates a "Markup" using sample code I found on the 
> internet, I want "Bill" to be able to access his markup and not 
> everyones.  In other words, I would like to change the path from:
> 
> Library://Markup/     to     Library://Bill/Markup/
> 
> The only problem I am having is getting the username, "Bill", into the 
> string that is sent by the code.
> 
> My thought was using the $_REQUEST['USERNAME'] or something, but can't 
> get it working.  By the way, the user "Bill" is the user under the 
> MapAdmin panel and that.  Any help would be nice.  Thanks.
> 
> Rich
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 



More information about the mapguide-users mailing list