Security Sample Code

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This section contains sample code that shows how to perform tasks that relate to security.

In This Section

Create a Custom Role

Shows how to create a custom security role.

Retrieve the Roles for a User

Shows how to build a query expression to for use with the RetrieveMultiple method to find all the roles for a user.

© 2010 Microsoft Corporation. All rights reserved.