'DeclarationPublic Overloads Function GetCredentialProfile( _ ByVal userName As String, _ ByVal profileType As String, _ ByVal credentialSelector As String _ ) As CredentialProfile
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 null (Nothing) 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 null (Nothing) if the profile does not exist.