Bagikan melalui


Authorization Manager Tasks and Marketing Methods

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Certain Marketing System API methods make sure that you have permissions to the Commerce Server predefined Authorization Manager tasks that correspond to the methods. The following table lists the methods and their corresponding predefined Authorization Manager tasks.

API Method

Authorization Manager Tasks

Notes

Advertisement.Save

InsertAdvertisement or UpdateAdvertisement

Campaign.Save

InsertCampaign or UpdateCampaign

Campaign.Save

ActivateAndDeactivateCampaigns

When saving a campaign with a changed Active status.

CampaignEventType.Save

InsertCampaignEventType or UpdateCampaignEventType

CampaignItem.Save

InsertCampaignItem or UpdateCampaignItem

CampaignItemManager.Activate/Deactivate

ActivateAndDeactivateCampaignItem, ReadCampaignItem, ReadList for DirectMails.

CampaignItemManager.CreateCopy

ReadCampaignItem, ReadList for DirectMails.

CampaignItemManager.Delete

DeleteCampaignItem

CampaignItemManager.Delete

DeleteCampaignItem, ActivateCampaignItem, ReadCampaignItem

CampaignItemManager.GeneratePreview

ReadDisplayTemplate, ReadDisplaySize

CampaignItemManager.GetCampaignItem

ReadCampaignItem

CampaignItemManager.GetCampaignItem

ReadList

When getting a DirectMail or CampaignItem.

CampaignItemManager.MoveCampaignItemToCampaign

UpdateCampaignItem

CampaignItemManager.NewCampaignItem

ReadCampaign, ReadCustomer

CampaignItemManager.PrioritizeDiscount

UpdateDiscount

CampaignItemManager.Restore

RestoreCampaignItem

CampaignItemManager.Search

SearchDiscounts or SearchAdvertisement or SearchDirectMail

CampaignItemManager.UpdateDiscountPriorities

PrivilegedBulkUpdateDiscountPriorities

CampaignManager.Activate/Deactivate

ActivateAndDeactivateCampaigns

CampaignManager.Delete

DeleteCampaign

CampaignManager.GetAllCampaignEventTypes

ReadCampaignEvent

CampaignManager.GetCampaignEventType

ReadCampaignEvent and DeleteCampaignEvent

CampaignManager.DeleteCampaignEventType

ReadCampaignEvent and DeleteCampaignEvent

CampaignManager.GetCampaign

ReadCampaign

CampaignManager.MoveCampaignToCustomer

UpdateCampaign

CampaignManager.NewCampaign

ReadCustomer

CampaignManager.Restore

RestoreCampaign, RestoreCampaignItem

Restore CampaignItem permissions needed to restore campaign's children.

CampaignManager.Search

SearchCampaigns

Customer.Save

InsertCustomer or UpdateCustomer

CustomerManager.Delete

DeleteCustomer

CustomerManager.GetCustomer

ReadCustomer

CustomerManager.Restore

RestoreCustomer

DirectMail.Save

InsertDirectMail, UpdateDirectMail, and ReadList

DirectMail.Test

SendTestMail, ReadDirectMail, ReadList

Discount.Save

InsertDiscount or UpdateDiscount

DisplaySize.Save

InsertDisplaySize or UpdateDisplaySize

DisplaySizeManager.Delete

DeleteDisplaySize

DisplaySizeManager.GetAllDisplaySizes

ReadDisplaySize

DisplaySizeManager.GetDisplaySize

ReadDisplaySize

DisplayTemplate.Save

InsertDisplayTemplate or UpdateDisplayTemplate

DisplayTemplateManager.Delete

DeleteDisplayTemplate

DisplayTemplateManager.GetAllDisplayTemplates

ReadDisplayTemplate

DisplayTemplateManager.GetDisplayTemplate

ReadDisplayTemplate

Expression.Save

InsertGlobalExpression or UpdateGlobalExpression

ExpressionManager.CreateCopy

ReadGlobalExpression

ExpressionManager.Delete

DeleteGlobalExpression

ExpressionManager.GetAllExpressionCategories

ReadExpressionCategory

ExpressionManager.GetExpression

ReadGlobalExpression

ExpressionManager.SaveExpressionCategories

InsertExpressionCategory or UpdateExpressionCategory or DeleteExpressionCategory

ExpressionManager.Search

SearchExpressions

IndustryCode.Save

InsertIndustryCode or UpdateIndustryCode

IndustryCodeManager.Delete

DeleteIndustryCode

IndustryCodeManager.GetAllIndustryCodes

ReadIndustryCode

IndustryCodeManager.GetIndustryCode

ReadIndustryCode

MailingList.LookupUser

For ExpressionList requires LookupUserInList, ReadList, ReadGlobalExpression; For StaticList requires LookupUserInList, ReadList; For GlobalOptOutList requires LookupUserInGlobalOptoutList, ReadGlobalOptoutList

MailingList.Save

For ExpressionList requires Insert/Update List, ReadGlobalExpression; For StaticList requires Insert/Update List; For GlobalOptOutList requires UpdateGlobalOptoutList

MailingListManager.AbortListOperation

AbortListOperation

MailingListManager.CreateCopy

For ExpressionList requires CopyList, ReadList, InsertList; For StaticList requires CopyList, ReadList, InsertList, JoinList; For GlobalOptOutList requires CopyGlobalOptoutList, ReadGlobalOptoutList, InsertList, JoinList

MailingListManager.Delete

DeleteList

MailingListManager.Export/EndExport

ExportList. ExpressionList requires ReadGlobalExpression additionally. GlobalOptOutList requires only ExportGlobalOptoutList.

MailingListManager.BeginExport

ExportList. ExpressionList requires ReadGlobalExpression additionally. GlobalOptOutList requires only ExportGlobalOptoutList.

MailingListManager.GetAllMailingLists

ReadList. You will only get back the GlobalOptOutList if you have ReadGlobalOptoutList as well.

MailingListManager.GetListOperation

For GlobalOptOutList, GetGlobalOptoutListOperation is required instead.

MailingListManager.GetMailingList

ReadMailingList

MailingListManager.GetMostRecentListOperation

Required permission is GetListOperation; For GlobalOptOutList, GetGlobalOptoutListOperation is required instead.

MailingListManager.GetOperationsHistory

Required permission is GetListOperation; For GlobalOptOutList, GetGlobalOptoutListOperation is required instead.

MailingListManager.Search

SearchLists

MarketingContext.RefreshDiscountCache/RefreshAdvertisementCache

RefreshCache

PageGroup.Save

InsertPageGroup or UpdatePageGroup

PageGroupManager.Delete

DeletePageGroup

PageGroupManager.GetAllPageGroups

ReadPageGroup

PageGroupManager.GetPageGroup

ReadPageGroup

ProfileDefinitionReader.GetProfileDefinitions

ReadProfileDefinitions

ProfileDefinitionReader.GetSiteTerms

ReadSiteTerms

PromoCodeDefinition.Save

InsertDiscount or UpdateDiscount

PromoCodeDefinitionManager.[Begin]ExportPromoCodesForDefinition

ReadDiscount, ExportPromoCodes

PromoCodeDefinitionManager.CancelExport

CancelCouponExport

PromoCodeDefinitionManager.CancelGeneration

CancelCouponGeneration

PromoCodeDefinitionManager.Delete

DeleteDiscount

PromoCodeDefinitionManager.DeleteBatch

DeleteBatch

PromoCodeDefinitionManager.GenerateRandomCodes

ReadDiscount, GetCouponGenerationStatus, GeneratePromoCodesForPromoCodeDefinition

PromoCodeDefinitionManager.GetBatchInfosForDefinition

ReadDiscount

PromoCodeDefinitionManager.GetLastGenerationStatusForUser

GetCouponGenerationStatus

PromoCodeDefinitionManager.GetPromoCodeDefinition

ReadDiscount

PromoCodeDefinitionManager.ImportCodes

GetCouponGenerationStatus.

Upload permission required only in agent mode.

PromoCodeDefinitionManager.ImportUsersAndGenerateCodes

GetCouponGenerationStatus.

Upload permission required only in agent mode.

PromoCodeDefinitionManager.LookupPromoCodeDefinitionByCode

ReadDiscount

PromoCodeDefinitionManager.Search

SearchDiscounts

StaticList.AddUser

AddUserToList

StaticList.Append

JoinList, ReadList permission; JoinGlobalOptoutList if GlobalOptOutList is involved.

Overload with List argument.

StaticList.Append

AppendExpressionToSimpleList

Overload with ExpressionRef argument.

StaticList.Import

ImportList, UploadFile, ImportGlobalOptoutList if GlobalOptoutList is involved.

StaticList.RemoveUser

RemoveUserFromList, RemoveUserFromGlobalOptoutList if GlobalOptoutList is involved.

StaticList.Subtract

SubtractList, ReadList; SubtractGlobalOptoutList if GlobalOptoutList is involved.

StaticList.UpdateUser

UpdateUserInlist; UpdateUserInGlobalOptoutList if GlobalOptoutList is involved.

See Also

Other Resources

Developing with the Marketing System