OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / GetUser Method
The unique identifier of the User as a Guid.
Determines if deleted records are allowed to be returned in the result.



In This Topic
    GetUser Method
    In This Topic
    Retrieves a single User object assigned to a given identifier.
    Syntax
    'Declaration
     
    
    Public Function GetUser( _
       ByVal userID As Guid, _
       Optional ByVal loadArchived As Boolean _
    ) As User
    'Usage
     
    
    Dim instance As DataAccess
    Dim userID As Guid
    Dim loadArchived As Boolean
    Dim value As User
     
    value = instance.GetUser(userID, loadArchived)
    public User GetUser( 
       Guid userID,
       bool loadArchived
    )
    public:
    User^ GetUser( 
       Guid userID,
       bool loadArchived
    ) 

    Parameters

    userID
    The unique identifier of the User as a Guid.
    loadArchived
    Determines if deleted records are allowed to be returned in the result.

    Return Value

    A comprehensive User 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