SessionId Structure Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

This class is used for a Content Studio User Session

Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

[SerializableAttribute]
[TypeConverterAttribute(typeof(SessionIdConverter))]
public struct SessionId : IConvertible, IEquatable<SessionId>

The SessionId type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberAnonymousSessionId
Defines the session identifier for an anonymous user.
Public propertyId
Gets or sets the underlying value of this SessionId.
Top
Methods

  NameDescription
Public methodEnsure
Ensures the specified connection id is valid and has not timed out.
Public methodEquals(Int32)
Returns a value indicating whether the value of this instance is equal to the specified Int32.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(SessionId)
Returns a value indicating whether this instance is equal to the specified SessionId.
Public methodStatic memberFromInt32
Creates a new SessionId from an Int32.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberIsValid
Determines whether the specified session id has a value that is within the supported range.
Public methodToInt32
Returns the session id as an integer.
Public methodToString
Returns a String that represents the current Object.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberGreaterThan
Implements the operator >.
Public operatorStatic member(Int32 to SessionId)
Performs an implicit conversion from Int32 to SessionId.
Public operatorStatic member(SessionId to Int32)
Performs an implicit conversion from SessionId to Int32.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLessThan
Implements the operator <.
Top
See Also

Reference