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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -