'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.