Compartir a través de


ApplicationAccessControlAttribute.Authentication Propiedad

Definición

Permite obtener o establecer el nivel de autenticación de llamada a procedimiento remoto (RPC).

public:
 property System::EnterpriseServices::AuthenticationOption Authentication { System::EnterpriseServices::AuthenticationOption get(); void set(System::EnterpriseServices::AuthenticationOption value); };
public System.EnterpriseServices.AuthenticationOption Authentication { get; set; }
member this.Authentication : System.EnterpriseServices.AuthenticationOption with get, set
Public Property Authentication As AuthenticationOption

Valor de propiedad

Uno de los valores de AuthenticationOption.

Ejemplos

En el ejemplo siguiente se muestra el uso de esta propiedad.

// 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)]
' Set component access controls.
<Assembly: ApplicationAccessControl(Authentication:=AuthenticationOption.Privacy, ImpersonationLevel:=ImpersonationLevelOption.Identify, AccessChecksLevel:=AccessChecksLevelOption.ApplicationComponent)>

Se aplica a