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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.