How to obtain Messange Queuing owner name by using Visual Basic (244820)
The information in this article applies to:
- Microsoft Message Queue Server (MSMQ) 1.0
- Microsoft Message Queuing 2.0
- Microsoft Message Queuing 3.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
This article was previously published under Q244820 SUMMARY
The Microsoft Message Queuing object does not provide a mechanism for determining the owner of a queue. To determine the owner name for a Message Queuing queue, you can use the MQGetQueueSecurity function to obtain the security descriptor for the queue. You can then use this security descriptor with the Microsoft Windows NT Security function to obtain the actual name of the owner.
Note: This functionality is only available on Microsoft Windows NT and Microsoft Windows 2000. The security functions are not implemented in Microsoft Windows 98 or Microsoft Windows 95.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
218965 How To Obtain the Owner of a File on Windows NT
For more information, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 4/20/2005 |
---|
Keywords: | kbhowto KB244820 |
---|
|