在SharePoint 2013基础上安装了基于表单的身份验证。因此,对于系统帐户,我想实现“登录为”功能,特别是系统帐户可以从用户列表中选择用户并以该用户身份登录。换句话说,我想为系统帐户实现用户模拟功能。 因此,当有SPUser,SPClaim或SPPrincipal时,如何在基于表单的身份验证中对没有密码的其他用户进行身份验证。并具有系统帐户特权? 我也尝试了以下方法:
apiVersion: v1
kind: Service
metadata:
name: nginx-service
namespace: web
spec:
ports:
- name: http
protocol: TCP
port: 80
selector:
app: nginx
type: ClusterIP
或
FormsAuthentication.SetAuthCookie(spUser.LoginName, false);
但是这些不能解决我的问题。