# ServerAuthentication

## NAMESPACE

RASAdminEngine.Core.OutputModels.ClientRulesPolicy.Session

## DESCRIPTION

Sessions Server Authentication Policy

## INHERITED FROM

[RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj)

⇒

ServerAuthentication

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                                 | Name                     | Description                                            |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------------------ |
| Boolean                                                                                                                                              | Enabled                  | Whether Server Authentication policy is enabled or not |
| [IfAuthenticationFail](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/ifauthenticationfail) | SessionAuthFailureAction | If authentication fails do something.                  |

## PUBLIC METHODS

| Type        | Name                    | Description                                                                                                                                                   |
| ----------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Int32       | CompareTo (Object obj)  | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Boolean     | Equals (Object obj)     | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Int32       | GetHashCode ()          | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Type        | GetType ()              | String                                                                                                                                                        |
| ToString () | ### References to Types |                                                                                                                                                               |
