有人可以帮我解决如何删除AD中memberOf中的组吗?这是对的吗?
<cffunction name="deleteMemberOfLDAPGroup" access="public" output="false" returntype="void">
<cfargument name="UserDN" required="true" type="string" />
<cfargument name="GroupDN" required="true" type="string" />
<cfldap action="modify"
modifytype="delete"
attributes="member=#arguments.UserDN#"
dn="#arguments.GroupDN#"
separator="|"
server = "myserver.com"
port="389"
username="testuser"
password="abc123" />
</cffunction>
感谢。