CREATE VIEW [dbo].[Coordinators]
as
select
SysUser.SysUserID,
FullName = dbo.FormatLastNameFirstName( SysUser.LASTNAME, SysUser.FIRSTNAME )
from SysUser
inner join SysUserLaborTypeMap on SysUserLaborTypeMap.SysUserFID = SysUser.SysUserID
inner join LaborType on( LaborType.PriKey = SysUserLaborTypeMap.LaborTypeFID and LaborType.LaborType = 'Coor' )
GO
GRANT SELECT ON [dbo].[Coordinators] TO [MssExec]
GRANT INSERT ON [dbo].[Coordinators] TO [MssExec]
GRANT DELETE ON [dbo].[Coordinators] TO [MssExec]
GRANT UPDATE ON [dbo].[Coordinators] TO [MssExec]
GO