To see your current package depot setting:

oi@openindiana:~$ pkg publisher
PUBLISHER                             TYPE     STATUS   URI
openindiana.org          (preferred)  origin   online   http://pkg.openindiana.org/dev/
opensolaris.org                       origin   online   http://pkg.openindiana.org/legacy/
oi@openindiana:~$

Lists all packages in the consolidation 'osnet':

pkg search -r '<set:org.opensolaris.consolidation:osnet>'

Lists all installed incorporations

pkg search -l -r '<:depend:incorporate:>'

Search for all the users delivered by packages

pkg search -r :user::

To see a package's installed content:

oi@openindiana:~$ pkg  contents gnupg
PATH
usr
usr/bin
usr/bin/gnupg-pcsc-wrapper
usr/bin/gpg-agent
usr/bin/gpg-check-pattern
usr/bin/gpg-connect-agent
usr/bin/gpg-preset-passphrase
usr/bin/gpg-protect-tool
<snipped>
usr/share/man/man1/watchgnupg.1
usr/share/man/man1m
usr/share/man/man1m/addgnupghome.1m
usr/share/man/man1m/applygnupgdefaults.1m
oi@openindiana:~$