Show / Hide Table of Contents

Class NSUntrustedCredentials

Credentials for external authentication.

Syntax

Constructors

NSUntrustedCredentials()

Initializes a new instance of the NSUntrustedCredentials class.

Introduced or updated in version: 7

Declaration
NSUntrustedCredentials

Methods

GetComment()

Introduced or updated in version: 7

Declaration
String GetComment()
Returns
Type Description
String

Description of credentials. Max 255 characters.

Examples
NSUntrustedCredentials thing;
String comment = thing.GetComment();

GetIsActive()

Introduced or updated in version: 7

Declaration
Bool GetIsActive()
Returns
Type Description
Bool

Is this credentials currently active.

Examples
NSUntrustedCredentials thing;
Bool isActive = thing.GetIsActive();

GetPublicValue()

Introduced or updated in version: 7

Declaration
String GetPublicValue()
Returns
Type Description
String

Data stored unencrypted in the db. Typically server and or username. Max 238 characters.

Examples
NSUntrustedCredentials thing;
String publicValue = thing.GetPublicValue();

GetSecretValue()

Introduced or updated in version: 7

Declaration
String GetSecretValue()
Returns
Type Description
String

Data stored encrypted in the db. Typically a password. Max 70 characters.

Examples
NSUntrustedCredentials thing;
String secretValue = thing.GetSecretValue();

GetValidFrom()

Introduced or updated in version: 7

Declaration
DateTime GetValidFrom()
Returns
Type Description
DateTime

Credentials are valid from this date.

Examples
NSUntrustedCredentials thing;
DateTime validFrom = thing.GetValidFrom();

GetValidTo()

Introduced or updated in version: 7

Declaration
DateTime GetValidTo()
Returns
Type Description
DateTime

Credentials are valid to this date.

Examples
NSUntrustedCredentials thing;
DateTime validTo = thing.GetValidTo();

SetComment(String)

Introduced or updated in version: 7

Declaration
Void SetComment(String comment)
Parameters
Type Name Description
String comment

Description of credentials. Max 255 characters.

Returns
Type Description
Void
Examples
NSUntrustedCredentials thing;
String comment;
thing.SetComment(comment);

SetIsActive(Bool)

Introduced or updated in version: 7

Declaration
Void SetIsActive(Bool isActive)
Parameters
Type Name Description
Bool isActive

Is this credentials currently active.

Returns
Type Description
Void
Examples
NSUntrustedCredentials thing;
Bool isActive;
thing.SetIsActive(isActive);

SetPublicValue(String)

Introduced or updated in version: 7

Declaration
Void SetPublicValue(String publicValue)
Parameters
Type Name Description
String publicValue

Data stored unencrypted in the db. Typically server and or username. Max 238 characters.

Returns
Type Description
Void
Examples
NSUntrustedCredentials thing;
String publicValue;
thing.SetPublicValue(publicValue);

SetSecretValue(String)

Introduced or updated in version: 7

Declaration
Void SetSecretValue(String secretValue)
Parameters
Type Name Description
String secretValue

Data stored encrypted in the db. Typically a password. Max 70 characters.

Returns
Type Description
Void
Examples
NSUntrustedCredentials thing;
String secretValue;
thing.SetSecretValue(secretValue);

SetValidFrom(DateTime)

Introduced or updated in version: 7

Declaration
Void SetValidFrom(DateTime validFrom)
Parameters
Type Name Description
DateTime validFrom

Credentials are valid from this date.

Returns
Type Description
Void
Examples
NSUntrustedCredentials thing;
DateTime validFrom;
thing.SetValidFrom(validFrom);

SetValidTo(DateTime)

Credentials are valid to this date.

Introduced or updated in version: 7

Declaration
Void SetValidTo(DateTime validTo)
Parameters
Type Name Description
DateTime validTo

Credentials are valid to this date.

Returns
Type Description
Void
Examples
NSUntrustedCredentials thing;
DateTime validTo;
thing.SetValidTo(validTo);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top