ServerConnection Class |
Namespace: Novalys.VisualGuard.Security.CRM.Sdk
The ServerConnection type exposes the following members.
Name | Description | |
---|---|---|
ServerConnection | Initializes a new instance of the ServerConnection class |
Name | Description | |
---|---|---|
ConvertToSecureString |
Convert unsecure string to SecureString.
| |
ConvertToUnsecureString |
Convert SecureString to unsecure string.
| |
DiscoverOrganizations |
Discovers the organizations that the calling user belongs to.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindOrganization |
Finds a specific organization detail in the array of organization details
returned from the Discovery service.
| |
GetDeviceCredentials |
Get the device credentials by either loading from the local cache
or request new device credentials by registering the device.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOrganizationAddress |
Obtains the web address (Uri) of the target organization.
| |
GetOrganizationProxy |
Obtains the organization service proxy.
This would give a better performance than directly calling GetProxy() generic method
as it uses cached OrganizationServiceManagement in case it is present.
| |
GetOrgType |
Is this organization provisioned in Microsoft Office 365?
| |
GetProxyTService, TProxy |
Generic method to obtain discovery/organization service proxy instance.
| |
GetServerAddress |
Obtains the name and port of the server running the Microsoft Dynamics CRM
Discovery service.
| |
GetServerConfiguration |
Obtains the server connection information including the target organization's
Uri and user logon credentials from the user.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserLogonCredentials |
Obtains the user's logon credentials for the target server.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadConfigurations |
Reads a server configuration file.
Read the configuration from disk, if it exists, at C:\Users\YourUserName\AppData\Roaming\CrmServer\Credentials.xml.
| |
ReadPassword |
Prompts user to enter password in console window
and capture the entered password into SecureString.
| |
SaveConfiguration |
Writes a server configuration to a file.
| |
SaveConfigurations |
Writes all server configurations to a file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
configurations |