adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetCredentialProfile Method / GetCredentialProfile(String,String,String) Method
The user ID of the profile to fetch.
The type of profile to fetch. Specify a null reference (Nothing in Visual Basic) for a default Windows credential profile.
The profile selector/discriminator to use. Specify null or empty string when searching for Windows credentials.


In This Topic
    GetCredentialProfile(String,String,String) Method
    In This Topic
    Gets the Credential Profile with the specified name and type.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Overloads Function GetCredentialProfile( _
       ByVal userName As String, _
       ByVal profileType As String, _
       ByVal credentialSelector As String _
    ) As CredentialProfile
    [CanBeNull()]
    public CredentialProfile GetCredentialProfile( 
       string userName,
       string profileType,
       string credentialSelector
    )
    [CanBeNull()]
    public:
    CredentialProfile^ GetCredentialProfile( 
       String^ userName,
       String^ profileType,
       String^ credentialSelector
    ) 

    Parameters

    userName
    The user ID of the profile to fetch.
    profileType
    The type of profile to fetch. Specify a null reference (Nothing in Visual Basic) for a default Windows credential profile.
    credentialSelector
    The profile selector/discriminator to use. Specify null or empty string when searching for Windows credentials.

    Return Value

    The profile, or a null reference (Nothing in Visual Basic) if the profile does not exist.
    See Also