NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICredentialLookup.GetCredential

Returns a NetworkCredential object that is associated with the supplied host, realm, and authentication type.

[Visual Basic]
Function GetCredential( _
   ByVal URI As String, _
   ByVal AuthType As String _
) As NetworkCredential
[C#]
NetworkCredential GetCredential(
   string URI,
   string AuthType
);
[C++]
NetworkCredential* GetCredential(
   String* URI,
   String* AuthType
) = 0;
[JScript]
function GetCredential(
   URI : String,
   AuthType : String
) : NetworkCredential;

Parameters

URI
The URI that the client is providing authentication for.
AuthType
The type of authentication as defined in the AuthenticationType class.

Return Value

NetworkCredential instance.

Remarks

[To be supplied]

See Also

ICredentialLookup Interface | ICredentialLookup Members | System.Net Namespace