adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetFastJobTree Method
The minimum permission required. Only jobs and groups for which the caller has this level of permission will be returned.
If true, the results will include all groups the user has permission for. If false, any group that do not contain jobs (directly or in sub-groups) will not be returned.
If true, the results will include all jobs the caller has permission for. If false, the results will only include groups.


In This Topic
    GetFastJobTree Method
    In This Topic
    Returns a minimal representation of the full job hierarchy.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function GetFastJobTree( _
       ByVal requiredPermission As SecurityPermission, _
       ByVal includeGroupsWithNoJobs As Boolean, _
       ByVal includeJobs As Boolean _
    ) As FastTreeGroup

    Parameters

    requiredPermission
    The minimum permission required. Only jobs and groups for which the caller has this level of permission will be returned.
    includeGroupsWithNoJobs
    If true, the results will include all groups the user has permission for. If false, any group that do not contain jobs (directly or in sub-groups) will not be returned.
    includeJobs
    If true, the results will include all jobs the caller has permission for. If false, the results will only include groups.

    Return Value

    A ArcanaDevelopment.adTempus.Shared.FastTreeGroup representing the root job group.
    Remarks

    This method is only supported on server version 5.0 or later. If the connected server is older, GetFastJobTree calls GetJobTree and translates the results. Because GetJobTree returns more data from the server GetFastJobTree will perform more slowly in this scenario than against a server running version 5 or later.

    See Also