Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | Using Access Labels with webMethods Messaging | Getting a Client Access Label
 
Getting a Client Access Label
The client access label that is returned for the client is inserted in the publabel envelope field of every event the client publishes or delivers.
To get an access label for a client, the following methods are provided for JMS and C#:
*JMS Messaging:
public interface WmConnection {
// Get the client access label
public short [] getAccessLabel () throws JMSException;
}
*C# Messaging:
public interface IConnection {
// Get the client access label
short [] AccessLabel
{
get;
}