The SenderIDType property specifies the type of sender identifier found by MSMQ. Currently, the only type of sender identifier available to MSMQ is an SID.
Type: | Long |
Run time: | read-write |
object.SenderIDType
Syntax Element | Description |
object | Message (MSMQMessage) object that defines the message. |
MSMQ sets SenderIDType to one of the following:
If the sending application does not want MSMQ to send a sender identifier with a message, it can specify MQMSG_SENDERID_TYPE_NONE when sending the message. This suppresses the message's SenderID property.
The receiving application can use SenderIDType to determine what type of sender identifier was attached to the message.
An SID of a local user (a user not logged into a Windows NT domain) is only valid locally. Even if a local user specifies an SID, it is not sent with the message.