You are here

removeAuthority

removeAuthority(fullAuthorityName) this method removes a child authority from this group.

Parameters

fullAuthorityName
A string representing the full name of the authority.

Example

var shortName = "MY_SUB_GROUP";
var group = groups.getGroup(shortName);

// now remove authority from this group

var fullName = "GROUP_MY_TEST_GROUP";
group.removeAuthority(fullName);