cancel
Showing results for 
Search instead for 
Did you mean: 

Getting user info with integrated dot net app.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Are you looking SAP user info from SAP to your .ascx page,

if so then you can do it easily by using .Net connector and access related ABAP RFC,

otherwise please elaborate more about your problem area.

rima-sirich
Advisor
Advisor
0 Kudos

Hello Raymond,

For developing .NET applications I would recommend you to evaluate [PDK for .NET|https://www.sdn.sap.com/irj/sdn/dotnet?rid=/webcontent/uuid/40be5378-bfa9-2b10-399b-ba5719c0b5b8] ( Portal Development Kit for Microsoft .NET ). As a part of its installation, you get documentation integrated into Visual Studio help. It contains a set of very helpful tutorials.

Best Regards,

Rima.