谁能帮助我如何删除 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>
谢谢。