Access: StationAccessType;
The Access property determines an access type for the stations from the collection.
Executing the example requires a form, a button named Button1 on this form.
Sub Button1OnClick(Sender: Object; Args: IEventArgs);
Var
MB: IMetabase;
Sec: IMetabaseSecurity;
m_User: IMetabaseUser;
St: IStations;
s: String;
Begin
MB := MetabaseClass.Active;
Sec := MB.Security;
m_User := Sec.ResolveName("ADMIN") As IMetabaseUser;
St := m_User.Stations;
s := St.Access.ToString;
End Sub Button1OnClick;
On clicking the button, the "s" variable contains a value that determines the access type for the workstations from the collection of the ADMIN user.
See also: