Skip to main content
1-Visitor
July 24, 2019
Solved

Encrypt fields in User Extensions for a User

  • July 24, 2019
  • 2 replies
  • 1191 views

How can I encrypt fields like emailAddress and mobilePhone in the User Extensions tab for a particular user?

Can I remove some of the fields that I do not wish to be displayed?

Best answer by mnarang

All the fields in user extensions are typically property of a user .You can use setPropertyValues on a user to set all the property and use encryptStringWithKey function of Encryption Functions to encrypt particular property (I have not tested this) but I think this way it may work .

All these properties typically come from UserExtension Thing Shape .These are all inherited property from User Extension thing shape .So if you want to remove/add something you can do it in thing shape and it should reflect for every user .

 

 

Thanks ,

Mukul Narang  

2 replies

mnarang5-Regular MemberAnswer
5-Regular Member
July 24, 2019

All the fields in user extensions are typically property of a user .You can use setPropertyValues on a user to set all the property and use encryptStringWithKey function of Encryption Functions to encrypt particular property (I have not tested this) but I think this way it may work .

All these properties typically come from UserExtension Thing Shape .These are all inherited property from User Extension thing shape .So if you want to remove/add something you can do it in thing shape and it should reflect for every user .

 

 

Thanks ,

Mukul Narang  

Support
August 8, 2019

Hi @rsubramanya.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon