通过角色id打开特定信息 [英] By role id open perticular information

查看:78
本文介绍了通过角色id打开特定信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要求为所有学校开发一所学校管理。

所以如何让学校管理人员打开那个特定学校的信息,就像1)。学生注册,清单2)收费等等



后端'SqlServer'

租用'Asp.net'

I have a requirement for develop one school management for all schools.
so how to give authorities for perticualr school admin to open that perticular school's info only like 1).student registration,list 2)fees collections e.t.c

backend 'SqlServer'
rentend 'Asp.net'

推荐答案

你必须维护一个数据库信息,你可以用相应的学校名称将每个信息分成两部分。



Eg你的一张表包含学校信息,它们将是一个相关的schoolId(唯一)。



和学生注册表中,你将把注册信息存储在相关的SchoolId中。



当用户使用他的凭据登录时,您可以使用此信息来过滤报告(使用登录配置将存储有关他所属学校的信息)



我希望这会有所帮助。
you would have to maintain a database information where you will bifurcate the each information by its corresponding school name.

E.g. One of your table contains School information and their will be a associated schoolId(Unique) .

and in Student registration table you will store the registration information with the associated SchoolId.

And this information you can use to filter the report when a person logs in with his credentials(the use login configuration will store the info about which school he belongs to)

I hope this helps.


这篇关于通过角色id打开特定信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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