Welcome to Atlanta .NET Regular Guys Sign in | Join | Help

Impersonating users in SharePoint

I ran across this question in the newsgroups, "How do I impersonate one of my users so I can see what they see on their MySite?"

Well, if you are faced with a similar problem, you can use the RunAs command - runas /user:Linda1 "C:\Program Files\Internet Explorer\iexplore.exe http://localhost/myportal/"  This works in WSS to see all the personalizations the user has done on their non-shared view of the page.

Another option is to go to the User Profiles Administration (SharePoint Portal Server only), find the user that you are working with, and click the drop down next to their name.  In this drop down is 'Manage Personal Site'.  This will show you their MySite.

-- Matt Ranlett

[edit] - I've added a link to the RunAs command documentation in the Windows XP documentation.  This command also works on Windows Server 2003

Published 24-08-2005 07:32 by Matt Ranlett
Filed Under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Joris said:

I tried it but it doesn't work, I just get a commandbox which keeps on running...
August 25, 2005 2:50 AM
 

Matt Ranlett said:

Joris - is Linda1 a valid user (or did you replace Linda1 with a valid user on the box)?

Make sure that the user is valid, that the path to iexplore.exe is valid, and that the web address is the address to your portal site.
August 26, 2005 7:23 AM

What do you think?

(required) 
(optional)
(required) 

About Matt Ranlett

One of the two original Atlanta .NET Regular Guys, Matt fills his free time by helping to run several Atlanta area user groups, the Atlanta Code Camps, and works as one of the two INETA co-Vice Presidents of Technology
SkinName:iroha_Blog2
Powered by Community Server, by Telligent Systems