Skip to content

ERPConnect.SNCSettings

Namespace: ERPConnect
Assembly: ERPConnectStandard20.dll

Represents settings for SNC connections

public sealed class SNCSettings

Inheritance

objectSNCSettings

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

SNCSettings()

public SNCSettings()

Properties

Enabled

Gets or sets a value indicating whether SNC is used or not

public bool Enabled { get; set; }

Property Value

bool

ExternalIdData

When authenticating via External ID, provide the username etc. using this property. Please make sure to set the correct ERPConnect.SNCSettings.ExternalIdType as well.

public string ExternalIdData { get; set; }

Property Value

string

ExternalIdType

The type of ERPConnect.SNCSettings.ExternalIdData.

public ExternalIdType ExternalIdType { get; set; }

Property Value

ExternalIdType

LibraryPath

Gets or sets the path to the SNC DLL

public string LibraryPath { get; set; }

Property Value

string

Mechanism

Gets or sets the GSS-API mechansim used for SNC connections

public SNCMechanism Mechanism { get; set; }

Property Value

SNCMechanism

OwnName

Gets or sets the own SNC name

public string OwnName { get; set; }

Property Value

string

PartnerName

Gets or sets the SNC partner name

public string PartnerName { get; set; }

Property Value

string

QualityOfProtection

Gets or sets the preferred quality of protection (security level) for SNC connections

public SNCQualityOfProtection QualityOfProtection { get; set; }

Property Value

SNCQualityOfProtection

RunImpersonated

Impersonates a different user when opening a new RFC connection. Typically used for

WindowsIdentity.RunImpersonated()
. This property allows to reduce the code that runs in the impersonated context to a minimum, e. g. to avoid access restriction issues.

public Action<Action> RunImpersonated { get; set; }

Property Value

Action<Action>