MicroStrategy ONE

Alter Contact statement

Modifies the properties of a contact.

Copy
ALTER CONTACT "contact_name" [NAME "new_name"] [DESCRIPTION "new_description"] [ADDRESSES NAME "address_name1" PHYSICALADDRESS "physical_address" DELIVERYTYPE (EMAIL | FILE | PRINT) DEVICE "device_name" 
 [SETASDEFAULT (TRUE | FALSE)] [, .. NAME "address_nameN" PHYSICALADDRESS "physical_address" DELIVERYTYPE (EMAIL | FILE | PRINT) DEVICE "device_name" 
 [SETASDEFAULT (TRUE | FALSE)]] [LINKMSTRUSER "user_id"] 
 [(ENABLED | DISABLED)];

where:

  • CONTACT "contact_name" is the existing name of the contact, of type string.

  • NAME "new_name" is the new name of the contact if you want to change the existing name, of type string.

  • DESCRIPTION "description" is a description of the contact, of type string.

  • ADDRESSES is a comma-separated list of address information for the contact:

    • NAME "address_name1..N" is the name of the address, of type string, such as "Email."

    • PHYSICAL ADDRESS "physical_address" is the address, such as "mcwhite@workplace.com" if the DELIVERYTYPE is EMAIL.

    • DELIVERYTYPE indicates how deliveries are made to the address:

      • EMAIL indicates that this is an email address.

      • FILE indicates that this is a file address.

      • PRINT indicates that this is a print address.

    • DEVICE "device_name" is the name of the device used to make deliveries to this address, of type string, such as "Generic email" if the DELIVERYTYPE is EMAIL.

    • SETASDEFAULT is whether to set this address as the default address for the contact.

  • LINKMSTRUSER "user_id" is the MicroStrategy user to link to the contact you are changing, of type string. The security profile settings for the linked user are assigned to the contact.

  • ENABLED | DISABLED indicates whether the contact can have deliveries made to it in the MicroStrategy system. Disabling a contact does not disable the user account in MicroStrategy.

Examples

Copy
ALTER CONTACT "Michael 
 White" NAME "Michael C. White" ADDRESSES NAME "Email" 
 PHYSICALADDRESS "mcwhite@workplace.com" DELIVERYTYPE EMAIL DEVICE 
 "Generic Email";
Copy
ALTER CONTACT "Michael 
 White" NAME "Michael C. White" ADDRESSES NAME "MCWhite 
 reports folder" PHYSICALADDRESS "C:\Program Files (x86)\MicroStrategy\UserReports_delivered\MCWhite" 
 DELIVERYTYPE FILE DEVICE "User selected location";