OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / GetUserSession Method
The unique identifier of the UserSession as a Guid.



In This Topic
    GetUserSession Method
    In This Topic
    Retrieves a single UserSession object assigned to a given identifier.
    Syntax
    'Declaration
     
    
    Public Function GetUserSession( _
       ByVal userSessionID As Guid _
    ) As User.UserSession
    'Usage
     
    
    Dim instance As DataAccess
    Dim userSessionID As Guid
    Dim value As User.UserSession
     
    value = instance.GetUserSession(userSessionID)
    public User.UserSession GetUserSession( 
       Guid userSessionID
    )
    public:
    User.UserSession^ GetUserSession( 
       Guid userSessionID
    ) 

    Parameters

    userSessionID
    The unique identifier of the UserSession as a Guid.

    Return Value

    A comprehensive UserSession object.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also