Changing a Content Type's Security Policy

Changing a Content Type's Security Policy

When you don't need role-based permissions, you can use the Backend Services .NET SDK to set a content type's security policy.

public bool SetSecurityPolicy(EverliveApp app, Application application, ContentType contentType, SecurityPolicy securityPolicy) 
{
    var result = app.WorkWith().Application(application.Id).Type(contentType.Id).SetSecurityPolicy(securityPolicy).ExecuteSync();
    return result;
}
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.