OsAuthentPrefix: String;
The OsAuthentPrefix property determines the value of the prefix used on creating domain users in the security manager of the platform.
Sub Main;
Var
MbMan: IMetabaseManager;
MbDefs: IMetabaseDefinitions;
MbDef: IMetabaseDefinition;
OracleSPLD: IPrimaryOracleSPLD;
Begin
MbMan := MetabaseManagerFactory.Active;
MbDefs := MbMan.Definitions;
MbDef := MbDefs.Add;
MbDef.Id := "Test_Oracle";
MbDef.Name := "Test_Oracle";
MbDef.DriverId := "ORCL8";
MbDef.SecurityPackage := "STANDARDSECURITYPACKAGE";
OracleSPLD := MbDef.LogonData As IPrimaryOracleSPLD;
OracleSPLD.Server := "Test_ORCL";
OracleSPLD.Scheme := "Test_SCHEMA_ORCL";
OracleSPLD.OsAuthentPrefix := "TEMP_";
MbDef.Save;
End Sub Main;
A new description of the repository is created after executing this example. The schema to which the connection is established is placed to the Test_ORCL server. The server uses Oracle DBMS 9.x or later. For this description a prefix used to create domain users in a repository security manager is assigned.
See also:
IPrimaryOracleSPLD | Settings of OS_AUTHENT_PREFIX Parameter