Demand Method
The Demand method of the AreaAccessChecker class throws an exception if the user does not have the specified right.
Example
The following example shows how to use the Demand method. Note that this method throws an exception if you do not have the specified right (Create Category) in the News area.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security