rls_StudentDataAuthorization View

Purpose

Supports row-level security / authorization by linking a Student with the Schools and Sections ("classes") in which the student is enrolled. Part of the Row-Level Security Collection.

SQL Object Name

analytics.rls_StudentDataAuthorization

Data Definition and Sources

Note that this is returning the uniqueidentifier [Id] column from Section instead of using the natural key, because the natural key is too long to be practical when concatenating into a single column.


Column

Source Table

Source Column or Value

Data Type

StudentKeyStudentStudentUniqueIdint
SchoolKeyStudentSectionAssociationSchoolIdint
SectionKeySectionIdnvarchar
BeginDateStudentSectionAssociationBeginDatedate
EndDateStudentSectionAssociationEndDatedate

Contents