MSMQ - Reset Permissions
Declaration
<AMMSMQ ACTIVITY="reset_permissions" QUEUE="text" REMOTEMACHINE="text" />
Description: Resets the permission list to the operating system's default values. Removes any queue permissions previously appended to the default list.
Practical Usage
Used to retrieve the properties of a specific Active Directory object.
Parameters Queue
| 
                                                                     Property  | 
                                                                
                                                                     Type  | 
                                                                
                                                                     Required  | 
                                                                
                                                                     Default  | 
                                                                
                                                                     Markup  | 
                                                                
                                                                     Description  | 
                                                            
|---|---|---|---|---|---|
| 
                                                                     Local computer  | 
                                                                
                                                                     
  | 
                                                                
                                                                     
  | 
                                                                
                                                                     
  | 
                                                                
                                                                     
  | 
                                                                
                                                                     If enabled, specifies that this activity will be performed on the local computer (enabled by default). This is a visual mode parameter used only during design time, therefore, contains no markup.  | 
                                                            
| 
                                                                     Another computer  | 
                                                                
                                                                     Text  | 
                                                                
                                                                     No  | 
                                                                
                                                                     (Empty)  | 
                                                                
                                                                    
  | 
                                                                
                                                                     If enabled, specifies the host name or IP address of the remote computer that this activity will be performed on. When this parameter is enabled, the Local computer parameter is ignored.  | 
                                                            
| 
                                                                     Queue path  | 
                                                                
                                                                     Text  | 
                                                                
                                                                     Yes  | 
                                                                
                                                                     (Empty)  | 
                                                                
                                                                     QUEUENAME="CompName\QueueName"  | 
                                                                
                                                                     The name of the message queue in which to reset permissions. The message queue name consists of the compute name, an optional PRIVATE$ keyword that indicates whether it is a private queue and the name of the queue. Public queue example: ComputerName\QueueName Private queue example: ComputerName\PRIVATE$\QueueName  | 
                                                            
Description tab - A custom description can be provided on the Description tab to convey additional information or share special notes about a task step.
Error Causes tab - Specify how this step should behave upon the occurrence of an error. (Refer to Task Builder > Error Causes Tab for details.)
On Error tab - Specify what AWE should do if this step encounters an error as defined on the Error Causes tab. (Refer to Task Builder > On Error Tab for details.)
Example
The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.
Description: Simple MSMQ reset permissions step.
<AMCREATEADPROPERTYDATASET LDAPPATH="" LDAP://OU=MyCompany,DC=mycompany,DC=com"" USERNAME="theUserName" PASSWORD="AM2PBmOg3vfcdsoGZuDe99x2" RESULTDATASET="theDataset" />