SetViewMode Method
The SetViewMode method sets the visibility type for a business component. It returns nothing. It uses the following syntax:
BusComp.SetViewMode(inMode);
where:
inMode
identifies the view mode. It contains one of the following integers:0. Sales Representative.
1. Manager.
2. Personal.
3. All.
4. None.
5. Organization.
6. Contact.
For example:
SiebelApp.S_App.FindApplet(appletName).BusComp().SetViewMode(inMode);