How I can manage department wise users? RRS feed

  • Question

  • My Organization have multiple departments like IT, Electric, Procurement etc. Every department have their own “Complaint Cell”. I need to create users for each department. How I achieve this I Microsoft LightSwitch?

    Monday, December 15, 2014 10:42 AM


  • Create a table called "ApplicationUsers" and provide the necessary fields for your specific business purposes (e.g. the department field), but also provide a field called "UserId", where you store the LightSwitch userId (this.Application.User. ...) 

    By doing so you have an "augemented" User tabled which you can use for row level security purposes, etc. 

    Make sense for you?



    paul van bladel ==independent enterprise application architect== http://blog.pragmaswitch.com

    • Proposed as answer by Angie Xu Thursday, December 25, 2014 8:13 AM
    • Marked as answer by Angie Xu Wednesday, December 31, 2014 9:59 AM
    Monday, December 15, 2014 12:31 PM