Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access other user's My Workspace if I am a site administrator?

Status
Not open for further replies.

sina1702

Programmer
Mar 27, 2009
4
if I am a site admnistrator, I can access everybody's My Workspace.

But how can I do this by programming?

Is there anybody has some ideas?

Thanks very much.
 
If your userid has "SA" privilges if you do a browse for "users & Groups" you will get the use's workspace.To get the same in programming your program accounts hsould have "SA" privilges.Then you can use "impersonateUser" call to impersonate the user that you are trying.With the impersonateuser if you call "GetPersonalWorkspace" that will be shown.You should be extremely careful also because a new context is created and you should destroy it as soon as possible.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer and probably certfiable,Livelink ECM Champion 2008

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top