O'Reilly logo

Privacy What Developers and IT Professionals Should Know by J. C. Cannon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required