コード例 #1
0
        public void DeleteRole(string authenticationCookie, string roleName)
        {
            string authUser;

            ServiceUtils.Authenticate(_addin, authenticationCookie, out authUser, null);
            ValidatePermission(authenticationCookie, PermissionsTable.Instance.CanManageRoles.Name);
            _addin.DeleteRole(authUser, roleName);
        }