ApplicationAccessControlAttribute Class
.NET Framework 3.0
Specifies access controls to an assembly containing ServicedComponent classes.
Namespace: System.EnterpriseServices
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
[ComVisibleAttribute(false)] [AttributeUsageAttribute(AttributeTargets.Assembly, Inherited=true)] public sealed class ApplicationAccessControlAttribute : Attribute
/** @attribute ComVisibleAttribute(false) */ /** @attribute AttributeUsageAttribute(AttributeTargets.Assembly, Inherited=true) */ public final class ApplicationAccessControlAttribute extends Attribute
ComVisibleAttribute(false) AttributeUsageAttribute(AttributeTargets.Assembly, Inherited=true) public final class ApplicationAccessControlAttribute extends Attribute
Not applicable.
The following code example demonstrates the use of this attribute to control access to an assembly containing ServicedComponent classes.
// Set component access controls. [assembly: ApplicationAccessControl(Authentication=AuthenticationOption.Privacy, ImpersonationLevel=ImpersonationLevelOption.Identify, AccessChecksLevel=AccessChecksLevelOption.ApplicationComponent)]
// Set component access controls.
/** @assembly ApplicationAccessControl(Authentication =
AuthenticationOption.Privacy, ImpersonationLevel =
ImpersonationLevelOption.Identify, AccessChecksLevel =
AccessChecksLevelOption.ApplicationComponent)
*/
Community Additions
ADD
Show: