on 2005 Feb 07 8:25 PM
I have Imported SAP.Portal.Services.UserManagement and am looking to search user Display Names based on a users LogonID. Here is my code so far:
....
Dim uInfo As UserInfo = um.SearchUsers(strLogonID)
If someone can explain how to get this to return the Display Name after using an Input for the LogonID, that would be great.
Regards,
Peter
Hi,
Try this :
um.GetUser(User.Identity.Name).DisplayName
Regards,
Ofer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ofer,
Thanks for the response. But this code returns the name of the current user that is using the iView. I would like to have a textbox. And in this textbox you would enter a LogonID and then click a button. When the button is clicked the Display Name of the entered LogonID is printed out.
Regards,
Peter
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
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.