如何在应用程序中切换用户 [英] how to switch user in the application

查看:148
本文介绍了如何在应用程序中切换用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我创建了仅在域中使用的应用程序

内部域,每个用户具有不同的可访问性

而某些用户只有一个ID才能使用此应用程序

因此,这意味着它们具有不同的id且具有不同的可访问性

现在,如果用户1使用id1登录,并且他想要从应用程序中登录

切换到其他ID

我该怎么办

简而言之,如何在应用程序中切换用户

hi to all!

hi i create an application which is only used in a domain

inside domain every user has different accessibility

and some user has more then one id to use this application

so its mean they have different accessibility with different id

now if user 1 login with id1 and from the application he want

to switch to other id

how can i do this

in short how to switch user with in the application

推荐答案

根据我的理解,当用户使用id1登录时,您确定同一用户具有id2,因此切换时到id2,然后注销id1并使用id2对该用户进行身份验证.
As per my understanding, when user logged in with id1 and you are sure the same user had id2 so when switched to id2 then logout id1 and authenticate with id2 to that user.


这篇关于如何在应用程序中切换用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆