Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Error while adding user as a member of group using add-member command when you set authentication as database in Spotfire server.
Solution:
When TIBCO Spotfire server authentication is set to database and if you try adding a user which contains '@' character it returns an error "The user 'user@domain.com" does not exist"
Example:
Adding "Testuser@test.com" to an exsiting group "TestGroup" will give the below error.
-----------
config add-member --tool-password="sfadmin" --groupname="TestGroup" --member-username=Testuser@test.com
The user "Testuser@test.com" does not exist
---------
If the "user name" contains "@" character Spotfire server considers that you are trying to pass a domain name. When TIBCO Spotfire Server authentication is set to database, it adds the user in default domain (i.e: SPOTFIRE).
The user will be saved as "user@domain.com@spotfire" in Spotfire database.
So to resolve this error you need to add '@spotfire' in "username":
-----------
config add-member --tool-password="sfadmin" --groupname="TestGroup" --member-username="Testuser@test.com@SPOTFIRE"
------------
Refer below link to know more about add-member command:
https://docs.tibco.com/pub/spotfire_server/7.12.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-A040987D-220C-4A52-8977-876D3A266F95.html
Comments
0 comments
Article is closed for comments.