Hello,
I have a list of attribute comes through SDK.Metadata.RetrieveEntity.And i want to know the privilege for each.I found IsValidForCreate and CanBeSecuredForCreate So i am confused.Likewise I want to know that it has update read and create privilege or not.
SDK.Metadata.RetrieveEntity(SDK.Metadata.EntityFilters.Attributes, "contact", null, false, function (entityMetadata) { successRetrieveEntity(entityMetadata); }, errorRetrieveEntity); function successRetrieveEntity(entityMetadata) { for (var i = 0; i < entityMetadata.Attributes.length; i++) { //how to get privilege? } }
Let me suggest something please.