Show / Hide Table of Contents

Class NSCsSessionKey

Carrier object for CsSessionKey.

Syntax

Constructors

NSCsSessionKey()

Initializes a new instance of the NSCsSessionKey class.

Introduced or updated in version: 8.2

Declaration
NSCsSessionKey

Methods

GetKey()

Introduced or updated in version: 8.2

Declaration
String GetKey()
Returns
Type Description
String

The session key created in the login table.

Examples
NSCsSessionKey thing;
String key = thing.GetKey();

GetLoginId()

Introduced or updated in version: 8.2

Declaration
Integer GetLoginId()
Returns
Type Description
Integer

The ID of the login row.

Examples
NSCsSessionKey thing;
Integer loginId = thing.GetLoginId();

GetUserId()

Introduced or updated in version: 8.2

Declaration
Integer GetUserId()
Returns
Type Description
Integer

The ejuser ID owning this session key.

Examples
NSCsSessionKey thing;
Integer userId = thing.GetUserId();

SetKey(String)

Introduced or updated in version: 8.2

Declaration
Void SetKey(String key)
Parameters
Type Name Description
String key

The session key created in the login table.

Returns
Type Description
Void
Examples
NSCsSessionKey thing;
String key;
thing.SetKey(key);

SetLoginId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetLoginId(Integer loginId)
Parameters
Type Name Description
Integer loginId

The ID of the login row.

Returns
Type Description
Void
Examples
NSCsSessionKey thing;
Integer loginId;
thing.SetLoginId(loginId);

SetUserId(Integer)

Introduced or updated in version: 8.2

Declaration
Void SetUserId(Integer userId)
Parameters
Type Name Description
Integer userId

The ejuser ID owning this session key.

Returns
Type Description
Void
Examples
NSCsSessionKey thing;
Integer userId;
thing.SetUserId(userId);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top