ServerAPI Members
Public Constructors
ServerAPI Constructor |
Initializes a new instance of the ServerAPI class. |
Public Methods
Initialize |
Initializes a connection to the MapPoint Location Server database. Call this method on a ServerAPI instance. Returns System.Void. |
GetContacts |
Returns a list of contacts as an array of LocatableContact objects for the user represented by the domain and alias. Returns Microsoft.MapPoint.LocationServer.Types.LocatableContact[]. |
AddContact |
Adds a new contact for a given user. Returns Microsoft.MapPoint.LocationServer.Types.LocatableContact. |
UpdateContact |
Updates a specified contact in a given user's contacts list. Returns Microsoft.MapPoint.LocationServer.Types.LocatableContact. |
DeleteContact |
Deletes the specified contact from contacts list of a given user. Returns System.Void. |
FindProvisionedUser |
Allows partial input of LocatableUser object properties or an e-mail address of a user to search provisioned MapPoint Location Server users and returns contact information as an array of LocatableContact instances. Returns Microsoft.MapPoint.LocationServer.Types.LocatableContact[]. |
GetDefaultCulture |
Retrieves the default culture for a given user, in string format; for example, "en-US" for English, United States. Returns System.String. |
SetDefaultCulture |
Sets the default culture for a given user. Returns System.Void. |
AddUser |
Adds a new user to MapPoint Location Server. Adding a user is also called provisioning a user. Returns System.Void. |
UpdateUser |
Updates an existing user (a user that has already been provisioned) in MapPoint Location Server. Returns System.Void. |
DeleteUser |
Deletes an existing (provisioned) user from the MapPoint Location Server system. Returns System.Void. |
GetAllUsers |
Returns all provisioned users in MapPoint Location Server. Returns System.String[]. |
GetLocatableUser |
Searches for a provisioned user by domain and alias. Returns Microsoft.MapPoint.LocationServer.Types.LocatableUser. |
GetNewContactNotification |
Gets the NotifyOnNewContact property of the LocatableUser object for the user identified by the domain and alias. Returns System.Boolean. |
SetNewContactNotification |
Sets the NotifyOnNewContact property of the LocatableUser object for the user identified by the domain and alias. Returns System.Void. |
GetVisibility |
Gets the Visible property of the LocatableUser object that represents the user identified by the domain and alias. Returns System.Boolean. |
SetVisibility |
Determines whether the user is visible to other users or contacts. Returns System.Void. |
GetNearbyCategories |
Gets the Find Nearby categories based on the culture name. Returns Microsoft.MapPoint.LocationServer.Types.FindNearbyCategory[]. |
AddNearbyCategory |
Adds a Find Nearby category to MapPoint Location Server. Returns System.Void. |
UpdateNearbyCategory |
Updates an existing nearby category in the MapPoint Location Server. Returns System.Void. |
DeleteNearbyCategory |
Deletes an existing Find Nearby category from the MapPoint Location Server. Returns System.Void. |