create_access_policy

ID: create_access_policy

Brings up a multi-step wizard that guides a user through the process of creating an Access Policy. The resulting access policy is handed back in the callback.

Sample Code

var UI = require("ui");

var actionContext = {};
UI.startAction(observableHolder, "create_access_policy", actionContext, function(err, accessPolicyId) {

    // if something went wrong, err will contain the error
    // otherwise, success

    // the created access policy ID is handed back

});