AccessChecksLevelOption Enumeration

 

Specifies the level of access checking for an application, either at the process level only or at all levels, including component, interface, and method levels.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

[SerializableAttribute]
public enum AccessChecksLevelOption

Member nameDescription
Application

Enables access checks only at the process level. No access checks are made at the component, interface, or method level.

ApplicationComponent

Enables access checks at every level on calls into the application.

The following code example demonstrates the use of this enumeration in conjunction with the ApplicationAccessControlAttribute attribute.

// Set component access controls.
[assembly: ApplicationAccessControl(Authentication=AuthenticationOption.Privacy,
                                    ImpersonationLevel=ImpersonationLevelOption.Identify,
                                    AccessChecksLevel=AccessChecksLevelOption.ApplicationComponent)]

.NET Framework
Available since 1.1
Return to top
Show: