[mapguide-users] Pulling USERNAME from MapGuide
Kenneth, GEOGRAF A/S
ks at geograf.dk
Sat May 26 09:09:53 EDT 2007
That functionality is not yet implemented, but it is suggested:
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc20
It is proposed for the 1.2 release, but it is already late, so maybe it
will be postponed.
In the meantime, you can work around the problem with Hidekazu's method.
Regards, Kenneth, GEOGRAF A/S
Hidekazu Shimaji wrote:
> 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
>>
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070526/94ddceaa/attachment.html
More information about the mapguide-users
mailing list