adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetCredentialProfiles Method / GetCredentialProfiles(String,String,ObjectFetchOptions,Int32,Boolean) Method
The profile type to fetch. Specify "*" for all types, an empty string ("") for Windows credentials, or the name of a credential type.
The profile selector/discriminator to use. Specify null or empty string when searching for Windows credentials.

In This Topic
    GetCredentialProfiles(String,String,ObjectFetchOptions,Int32,Boolean) Method
    In This Topic
    Fetches all Credential Profiles of the specified type.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetCredentialProfiles( _
       ByVal profileType As String, _
       ByVal credentialSelector As String, _
       ByVal options As ObjectFetchOptions, _
       ByVal pageSize As Integer, _
       ByRef restartPaging As Boolean _
    ) As CredentialProfileCollection

    Parameters

    profileType
    The profile type to fetch. Specify "*" for all types, an empty string ("") for Windows credentials, or the name of a credential type.
    credentialSelector
    The profile selector/discriminator to use. Specify null or empty string when searching for Windows credentials.
    options
    pageSize
    restartPaging

    Return Value

    All Credential Profiles of the requested type for which the caller has at least List permission.
    Remarks

    Paging

    This method supports paged retrieval for scenarios where the amount of data returned by a fetch of all objects is not feasible for performance reasons.

    To begin a paged fetch, set the pageSize to the desired number of records per page, and set restartPaging to True to start the fetch from the first record. On return, restartPaging will be set to False if there are more records to return. Continue to call the method with restartPaging set to False until it is True on return. At this point, all available records have been returned.

    Note that there is no way to specify the page at which the retrieval should begin; fetching is sequential only.

    See Also