cancel
Showing results for 
Search instead for 
Did you mean: 

How to access portal services in .Net PDK

Former Member
0 Kudos

The documentation for SAP PDK for .Net says that Enterprise portal services can be accessed from .net. I have a requirement to access some of the UME services available in the portal, e.g. create user, modify user etc.

I was hoping to get an access to these UME functions from PDK for .Net. But I could find a subset of UME service in PDK for .Net in the namespace, (SAP.Portal.Services.UserManagement). The functions available do not satisfy all of my requirements (GetUser, GetRole etc. getter methods are only available).

Does anybody know how to access other services available in EP? Or specifically How to create a user in portal using PDK for .net?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The API in the SAP.Portal.Services.UserManagment namespace does not have the capability to create a new user.

In order to expose other portal services, you could write a web service that will encapsulate the portal services and then use it from the PDK.NET.

Currently we are collecting requirements from the field to better understand the community needs.

It will be helpful for the community if you publish your code so everybody could benefit.

Regards,

Tsachi

Former Member
0 Kudos

Tsachi,

Thanks a lot for your suggestion. It has provided me a direction.

One more question. When you said "write a web service to encapsulate the portal service", does that mean I have to use NetWeaver Developer Studio to write the Web service? I am new to NetWeaver and Java. Is it possible to write the web service from .Net somehow?

Thanks a lot in advance. And I will definitely publish the code in the forum once I am done with this.

Regards,

Subrat

Former Member
0 Kudos

Well, since you want to encapsulate the portal services, you would have to write the web service in Java and it would be hosted by the portal. sorry

Former Member
0 Kudos

please mark the thread as solved, thanks.

Former Member
0 Kudos

Tsachi,

Thanks for confirming. I will create a Webservice using NetWeaver Developer Studio which would expose methods to create and modify a User.

Regards,

Subrat

Former Member
0 Kudos

Have you filled the PDK for .NET survey yet? You can win an MP3 player!!!

http://feedback.sap.com/efs/vote?campaign=39c7899ecca40a6709a638bd0388ac8b&org=332

Answers (1)

Answers (1)

Former Member
0 Kudos

Ah, now here is a topic I'm very interested in. Lets hope you get some good answers