CredentialManager.ReadCredentials Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReadCredentials(String) |
Reads the saved credentials for a given target |
ReadCredentials(Uri) |
Reads the credentials for the given target URI |
ReadCredentials(String)
Reads the saved credentials for a given target
public:
static Microsoft::Xrm::Tooling::CrmConnectControl::Utility::SavedCredentials ^ ReadCredentials(System::String ^ target);
public static Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials ReadCredentials (string target);
static member ReadCredentials : string -> Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials
Public Shared Function ReadCredentials (target As String) As SavedCredentials
Parameters
- target
- String
Target that is persisted
Returns
Applies to
ReadCredentials(Uri)
Reads the credentials for the given target URI
public:
static Microsoft::Xrm::Tooling::CrmConnectControl::Utility::SavedCredentials ^ ReadCredentials(Uri ^ target);
public static Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials ReadCredentials (Uri target);
static member ReadCredentials : Uri -> Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials
Public Shared Function ReadCredentials (target As Uri) As SavedCredentials
Parameters
- target
- Uri
URI for the target