1

I am trying to impersonate user(system user) using admin session.

For admin session, I am using repository.loginAdministrative which is now deprecated. I dont want to use this.

Is there any other way I can replicate admin user and save the node under desired location and use the same.

Manan Kapoor
  • 675
  • 1
  • 11
  • 28

2 Answers2

1

http://www.wemblog.com/2014/08/how-to-use-sessions-and-resource.html?m=1 shows how to do this on version 6 and above.

0

Please try to create a system user with proper permissions and use the system user.

Hari P
  • 1
  • 1
  • Thanks for your reply. I have created the same and added administrator group in the system user. but still I am not able to unlock page by system user. Is there separate permission for unlocking any user. – Manan Kapoor Mar 04 '16 at 03:38