Setting a Client Access Label
The access label assigned to particular document is called a control label, and it is stored in the envelope field _env.controlLabel. A publishing client is responsible for setting this field using an API.
To set a client access label, the following methods are provided for JMS and C#:
JMS Messaging:
public interface WmMessage {
// Set access label to message envelope
public void setAccessLabel(short [] label) throws JMSException;
}
C# Messaging:
public interface IMessage {
// Set access label to message envelope
short[] AccessLabel
{
set;
}