coldfusion - CFLDAP to delete a group in memberOf -
can me on how delete group in memberof in ad? correct?
<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>
thanks.
Comments
Post a Comment