不同用户的不同页面 [英] Different pages for different users

查看:92
本文介绍了不同用户的不同页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我正在使用Azure活动目录构建Azure Web应用程序.如何为不同的用户创建不同的视图?例如,user_1只能看到家庭和自己的个人资料,而admin可以看到全部.另外,如何创建管理员视图?这样我就可以修改页面内容和用户 个人资料设置.

I'm building Azure web app with Azure active directory. How can I create different views for different users? For example, user_1 can see only home and own profile, admin can see all. Also, how to create admin view? So I can modify page contents and user profile settings.

此致

Yerkhan

推荐答案

用于控制对应用程序各部分的访问的功能. App 角色是向用户分配权限的一种简便方法,它使您可以控制谁可以在WebApp中执行操作,建议您研究一下 逐步介绍 该流程,并告诉我们是否对您的要求有所帮助

You could leverage App roles functionality to control access to parts of your application. App roles are an easy way to assign permissions to users that allows you to control who can do what in your WebApp, I suggest you take a look into the blog which provides a walk-through of the process and let us know if that helps your requirement.


这篇关于不同用户的不同页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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