Logging on to the schema repository
You must log on to the schema repository before you can access its contents. The AdminSession object controls access to the schema repository. The AdminSession object is similar in purpose to the Session object, but provides access to schemas and user profiles instead of to records.
You log on to the schema repository using the Logon method of the AdminSession object. To use this method, you must know the login name and password. For more information, see Logon.