Skip to Content
0
Former Member
Dec 15, 2008 at 04:40 PM

Getting user info with integrated dot net app.

99 Views

To start, I know nothing about SAP integration. This has been thrown at me to try to resolve.

I need to integrate a dot net app into SAP. I need to know who the user is that is accessing my .ascx page.

I found this:

Dim userInfo As Map = DirectCast(Request.getAttribute(PortletRequest.USER_INFO), Map)

lblUserID.Text = DirectCast(userInfo.[get]("user.name.given"), String)

And This:

<portlet-app>

<user-attribute>

<description>User Given Name</description>

<name>user.name.given</name>

</user-attribute>...

Any help would be appreciated, and again, if you can help I will need complete help, because as Sgt Schultz would always say..

I know nooooothing...

Edited by: Raymond Blair on Dec 15, 2008 5:40 PM