The material provided is for informational purposes only, and should not be relied on in making any purchasing or investment decision. The information is not a commitment, promise or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion. © 2026 Cloud Software Group, Inc. All rights reserved. This page and your use is governed by these
Terms of Use.
This can be done with below IronPython script.
Please flag this as already existed. Thank you.
from Spotfire.Dxp.Framework.ApplicationModel import UserContext
user=Application.GetService[UserContext]()
print 'Username: ' + user.Username
print 'DisplayName: ' + user.DisplayName
print 'Domain: ' + user.Domain # not sure why this returns nothing instead of "SPOTFIRE" for OOTB database authentication.
print 'Groups: ' + ','.join(user.Groups)