Delete Custom Attribute
To delete all custom attributes:
Deleting custom attributes by name
To delete custom attribute by name:
Your suggested change has been received. Thank you.
Please Note:
You are not viewing the most recent version of this page. 8.17.1 is the latest version available.
To delete all custom attributes:
NAEUserModifyRequest nsm=new NAEUserModifyRequest.Builder().userName (username).deleteAllCustomAttrs().build();
boolean isModified=processor.modifyUser(nsm);
To delete custom attribute by name:
List<String>attributesToDelete = new ArrayList<>();
attributesToDelete.add("name of custom attribute");
NAEUserModifyRequest nsm=new NAEUserModifyRequest.Builder().userName(username).customAttrsToDelete(attributesToDelete).build();
boolean isModified=processor.modifyUser(nsm);
Thank you! Your suggestion has been submitted.
https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….