cancel
Showing results for 
Search instead for 
Did you mean: 

User ID and database

Former Member
0 Kudos

Dear programmers,

How is it possible to 'connect' users to data in a table.

Example:

Table projects --

ROW_ID - PROJECT_LEADER_ID - TITLE - DESCRIPTION - etc..

In MySQL I had a table with users and related it to the project table due the ID's. I'm wondering how to get the sap user id. And, which fieldtype should I use?

In advance,

Adri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hai ,

I didnt get your problem clearly.

If you ewant to get the current Portal User Id

IWDClientUser wdUser = WDClientUser.getCurrentUser();

user = wdUser.getSAPUser();

You can get like this.

Regards,

Naga

Answers (2)

Answers (2)

Former Member
0 Kudos

I put the user_id as string into the database, the problem is solved now. Also because the ID name is not changeble.

Former Member
0 Kudos

Acctually I'm searching for an ID (mostly an int?) which identificates the user corresponding to an record in the database.