Novell Home

Checking tree logins

Novell Cool Solutions: Question & Answer

Posted: 1 Feb 2006

Q:
How can I find out, programmatically, if I am logged in to any trees?

A:
Here's one way to find out if you're logged in to any trees:
1. Scan your connection references - NWCCScanConnRefs()
2. Get the handle for each reference - see NWCCGetConnRefInfo()
3. Check your user name for each reference - see NWDSMapIDToName()

Please check the NDK doc for the other helper APIs and detailed documentation.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.