Show / Hide Table of Contents

Class NSCsSessionKey

Carrier object for CsSessionKey.

Syntax

Constructors

NSCsSessionKey()

Initializes a new instance of the NSCsSessionKey class.

Declaration
NSCsSessionKey

Methods

GetKey()

Carrier object for CsSessionKey.

Declaration
String GetKey()
Returns
Type Description
String

The session key created in the login table.

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

GetLoginId()

Carrier object for CsSessionKey.

Declaration
Integer GetLoginId()
Returns
Type Description
Integer

The ID of the login row.

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

GetUserId()

Carrier object for CsSessionKey.

Declaration
Integer GetUserId()
Returns
Type Description
Integer

The ejuser ID owning this session key.

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

SetKey(String)

Carrier object for CsSessionKey.

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)

Carrier object for CsSessionKey.

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)

Carrier object for CsSessionKey.

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