Home
Determining whether e-mail addresses are prevented from being displayed
You can use the serviceconfigs API to find out whether a server has been configured to prevent e-mail addresses from being displayed.
If e-mail addresses are hidden, the <email> element is not supported as a means of identifying users. The <snx:userid> element is used instead. If you have an existing application that identifies users by e-mail address and it will be used in an environment in which Lotus Connections is configured to prevent e-mail addresses from being displayed, update the application to identify users by user ID instead.The API accepts user IDs as inputs and outputs the <snx:userid> element in both configurations. Therefore, if your application identifies people by their user IDs, the application does not need to check this setting. If your application identifies people by their e-mail addresses, you only need to update the application if you want it to work in this new configuration.
To programmatically determine whether e-mail addresses are prevented from being displayed...
- Access the /serviceconfigs resource to retrieve configuration information for the server.
- Look for the <category> element with a scheme attribute that has the following value:
scheme="http://www.ibm.com/xmlns/prod/sn/configuration"
- Check the value of the term attribute. The possible value are as follows:
- term="email-exposed"
- term="email-hidden"
Accessing other features from one feature
Related tasks