Testing the Authorization Manager Version of the Application

This version of the application builds on the previous version. Instead of going to the database to retrieve a user's role, it is retrieved from the Authorization Store. Accessing the roles in an Authorization Store using VBScript takes only four lines of code, which are shown here. The first line creates the Authorization Store object and attaches it to the Authorization Store in the XML file. An Authorization Store could have multiple applications, so the desired application is selected using the OpenApplication call. The InitializeClientContextFromToken call is used to associate the Authorization Store with the security context of the currently logged-on user. The GetRoles call retrieves ...

Get Privacy What Developers and IT Professionals Should Know now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.