on 09-14-2005 7:50 PM
I'm trying to get user information for the current user logged into the Portal using my .Net PDK iView. The documentation for the UserInfo class is not very helpful with no example code at all. How do I get a UserInfo class for the current user?
Hi Joseph,
Here is a sample code how to get information regarding current user:
UserManagement um = new UserManagement();
string userName = this.User.Identity.Name;
UserInfo user = um.GetUser(userName);
string fName = user.FirstName;
string lName = user.LastName;
Regards,
Rima.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.