Previous Topic: Name Method—Sets or Retrieves the Name of the Authentication Scheme

Next Topic: Save Method—Saves the Authentication Scheme to the Policy Store

ProtectionLevel Method—Sets or Retrieves the Protection Level of the Authentication Scheme

The ProtectionLevel method sets or retrieves the protection level of the authentication scheme.

Syntax

The ProtectionLevel method has the following format:

codefirstNetegrity::PolicyMgtAuthScheme‑>ProtectionLevel([nlevel])

Parameters

The ProtectionLevel method accepts the following parameter:

nlevel (int)

(Optional) Specifies the protection level to set.

Return Value

The ProtectionLevel method returns one of the following values:

Remarks

The level can vary from 1 to 1000. The higher the number, the more secure is the scheme. With Anonymous authentication schemes, set this value to 0.


Copyright © 2010 CA. All rights reserved. Email CA about this topic