Topic
1 reply Latest Post - ‏2008-12-04T14:35:03Z by SystemAdmin
SystemAdmin
SystemAdmin
1189 Posts
ACCEPTED ANSWER

Pinned topic Hook to retireve user database name in clearquest for a session

‏2008-12-04T14:18:25Z |
Hi

I need to write a hook to get the user database name for the current session.

I tried out

set Sess = GetSession
set dbDescObj = Sess.GetSessionDatabase

But I believe there is no API such as GetSessionDatabase
Can any body help me on this.
Updated on 2008-12-04T14:35:03Z at 2008-12-04T14:35:03Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1189 Posts
    ACCEPTED ANSWER

    Re: Hook to retireve user database name in clearquest for a session

    ‏2008-12-04T14:35:03Z  in response to SystemAdmin
    Hi All

    the below API retreives the work.. thanks for my team mate who googled out the same

    set Sess = GetSession
    dbDescObj = GetSession.GetSessionDatabase.GetDatabaseName
    msgbox "DATABASE NAME is ="+dbDescObj

    Thanks
    Shamseer