Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用管理会话来模拟用户(系统用户)。
对于管理会话,我使用repository.loginAdministrative的是现在已弃用的。我不想用这个。
repository.loginAdministrative
有没有其他方法可以复制管理员用户并将节点保存在所需位置并使用相同的位置。
http://www.wemblog.com/2014/08/how-to-use-sessions-and-resource.html?m=1展示了如何在版本 6 及更高版本上执行此操作。
请尝试创建具有适当权限的系统用户并使用该系统用户。