Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

How to find privilege for attributes comes from SDK.Metadata.RetrieveEntity?

$
0
0

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.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>