how can I reteive the profile of a user that is NOT the current loggedin user on the client?
with the asp.net ajax....
I have read the documentation about the profile servie but it seems everywhere it always says :" this loads the profile of the CURRENT user etc...
where I would want to access profile properties of other users as well
is it possible?
yes you can... the whole data is stored in a standard table for profile provider which is aspnet_Profile, you can communicate with it like any other tabel (insert, update & delete)...Regards...Nassar, RamiMy Blog || E-Mail Don't forget to click "Mark as Answer" on the post that he...Edit/Save selected user's Profile ( instead of currently logged in user)
I need a user management page for the administrator whereby the admin can edit/update Profiles from other users(by selecting their username).How can I select a different users Profile? So far I found only the editing of current user :(
Well you could create your own form and fill it in from the codebehind by following below. Lets say we want to update the firstname and last name in the profile.Web form <table>
<td><asp:TextBox runat="server" ID="firstname" /></td>
<...Accessing Profile of users other than current user.
I want to access profile of other users. I want to allow my members to visit other members profile. I am not going to disply the senstive information. The default sql profile provider access to profile of current user only.
you need to use the getProfile function as follows:ProfileCommon UserProfile = Profile.GetProfile(UserName);
Please read this related thread :
Regards,Regards,Anas Ghanem.Note:Please Don't hesitate to click "Report Abuse" link if you noticed something wron...Getting the user name of the currently logged in user
I'm writing my first custom module. Just as an experimental project I would just display information about the currently logged in user.
I can get the User Id, but I don't know where to get the rest of the information. How do I get this?
Just create a new UserController to get the information about one user via the method GetUser(PortalId, UserId) and store it into a UserInfo. Then you can get the rest of the information from this UserInfo
Dim myUser As New UserInfo
Dim myUserController As New UserController
myUser = myUserController.GetUser(PortalId, Use...how to get the user id of the currently logged in user?
m develoing a site whereby employees are supposed to log in and take orders. the users are being created thru the ASP web Administration tool and stored by default into the SQL Server Database named AspNetDB.mdf that's stored in the App_Data folder of our website. the database is created auomatically. How to display the userid as this userid is too complicated and there can be many users with the same username.
You can use the Membership class to get the info about a user:
The GetUser method can also take a username as a...How to List out Current Log on Users
I want the efficent way to display Current Log on Users - Users in online.
If u store session of all user in database then u can easily get the online user by checking the session state stored in database.
Add the Login info in the database . Check this info regularly after some time interval and show on the page Thanks & Regards Sandeep If you want something you never had, do something you have never done!
Try storing the online persons count in the Application State Aminhttp://3...creating a new user logs out the current user
I am developing a web application, currently I am working on the security aspect of the web app. The problem I am having is when I create a new account (when I sign in as an admin user) using CreatNewUser Wizard, a new user is created and it automatically logs out the current user(Admin) and get itself logged in.
Could anybody help me out here.
Thanking you in anticipation.
There is a property on the <asp:createuserwizard> control called "LoginCreatedUser" (this is a Boolean) that allows you to control whether a newly created user is au...User logs in, loads another users profile.
I hope i'm posting in the correct place, I'm not sure if this is an AD
issue or a Novell client issue, or ConsoleOne.
User A logs into windows XP with the correct user name and password, it
logs him in but loads User B's profile.
Both users have never logged into the computer so it's not loading a
cached profile, it always loads users B's profile, doesn't matter which
If user B logs in it is fine.
I checked both users profiles in AD and ConsoleOne and all seems to be
We do not use roaming profiles, nor do we use terminal se...Current User Logs out after creating new user.
I am using the asp.net membership provider for managing users in my application. I have created the required database in SQL server 2005. I am using the standard membership controls provided. (Login control, CreateUserWizard control etc.) .
As per business logic of my application, the user do not create their account themselves. The Admin user creates them instead. For user creation, I have created a page with the CreateUserWizard control. I have made necessary membership settings entries for the web.config file. So, the user gets created without any line of code.
But...Users logging in as the same user..
I have a problem with ASE12.0 .. I have created 10 users on the database
and granted everybody permissions and all.. However, it seems everybody, no
matter who logs in, logs in as the same user..
For eg... I have user logins John, Alex, Alan, Steve......etc etc
And i created a user group for all of them (eg developers..)
However, when they log on to isql, anything that they do will be under
John, no matter if it is logins John, Alex, Steve... or etc etc..
If i do a sp_who.. all the connections will be listed as John.
If they create tables, all table created will ...How can i get the user id of the user currently logged in?
I need to get the userId of the user currently logged in. Do I need to use 'user profile' for that? I am using the database schemas installed by the aspnet_regsql.exe.
Any suggestions will be very much appreciated.
Dim user As MembershipUser user = Membership.GetUser(True) Label1.Text = user.UserName If this post was useful to you, please mark it as answer. Thank you!Regards.mimranshafiq.NET Web Developerhttp://www.dotnetclassic.com
VB:Dim usr as MembershipUser=Membership....Logged in user displays user specific data from database
Hi there - I am fairly new to ASP.NET and am hoping for some guidance here ...
I am building an application for manages to track employees as the employee leaves the business. Basically there are processes a line manager is required to complete and I want the manager to enter completion dates when those processes have been completed.
I have gotten as far as successfully creating the login/membership controls. The user (line manager) logs in and is then redirected to the correct page and thats fine. However, I then want for the user to see records from a dat...LDAP/AD
We have an application that will get the IP of the workstation, but I need to know the current logged in user of that IP. Thru the web app I can not use %username%. This is not a authenticating app. This is a display screen that needs to say "Joe Bob you can not access ESPN.com". The only info I have is the IP address. Can I use that to access AD and get the current logged on user?
Thanks - BRIAN
user.identity.name or HttpContext.Current.User.Identity.Name
of course this is for the current logged in userVB,.NET 2.0MS SQL 2000
No, AD will not do this. ...Single Users Profile and All Users Profiles List
I've made a discussion forum. And I have also installed simply asp.net membership. Now I want after click on user link to redirect to the page with User's info.I have simply user "John" and user "Bob" and everyone can click on those names and will see page with informations stored in Profile (Like Profile.Name, Profile.Address). I have three simply question:1. How to show profile values of other User ? Like I wrote above.2. How to list all users with for example their e-mails ? I mean: UserLogin - UserName - UserMail3. Or the easier way is to make new table with those all information an...