void removeMembership ( Node refUserNode , Node refTypeNode ) throws Exception { refTypeNode . remove ( ) ; if ( ! refUserNode . hasNodes ( ) ) { refUserNode . remove ( ) ; } }
Remove membership record .