Managing Type-Level Permissions

Managing Type-Level Permissions

Permissions restrict the CRUD operations that each role can perform over a given type. Permissions can only be read and updated.

To get content type permissions in an application use the following code:

public async Task<IEnumerable<Permission>> GetPermissionsAsync(Guid applicationId, string masterKey)
{
    var metadata = new EverliveAccount(new EverliveAccountSettings(AuthorizationStrategy.MasterKey, masterKey));
    return await metadata.WorkWith().Application(applicationId).Permissions().GetAll().ExecuteAsync();
}
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.