[This is preliminary documentation and is subject to change.]

Gets the principal access rights for the specified entity.

Namespace:  CWR.MSCRM.Mobile.Client.BL
Assembly:  CWR.MSCRM.Mobile.Client.BL (in CWR.MSCRM.Mobile.Client.BL.dll)
Version: 4.0.0.7

Syntax

C#
public Nullable<AccessRights> GetPrincipalAccessRights(
	Guid entityId,
	bool checkOnline
)
Visual Basic (Declaration)
Public Function GetPrincipalAccessRights ( _
	entityId As Guid, _
	checkOnline As Boolean _
) As Nullable(Of AccessRights)

Parameters

entityId
Type: System..::.Guid
The entity id.
checkOnline
Type: System..::.Boolean
If set to true check online.

Return Value

AccessRights object containing the access rights for the specified entity. null if the entity has no access rights, e.g. when the entity is not User Owned.

See Also