Instantiating the Permission Checker
To create an object variable containing an instance of a Permission Checker object, use the Server object's CreateObject method. The syntax for the CreateObject method is as follows:
SetobjMyObject
= Server.CreateObject(strProgId
)
where:
objMyObject
represents the name of the Permission Checker object.The
strProgId
parameter represents the programmatic ID (ProgID) for the Permission Checker component, which isMSWC.PermissionChecker
.
Get ASP in a Nutshell, 2nd Edition 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.