Hello :
Someone used successfully AdsMgKillUser function?
and I can indicate as used ..?
I wrote the following but does not kill me users ...
Thank you
Silvina
FUNCTION KILL_OPERADORES
*=======================
LOCAL aUsuarios , nFor
AdsMgConnect( 'n:' )
aUsuarios := AdsMgGetUserNames()
FOR nFor := 1 TO len( aUsuarios )
AdsMgKillUser( , aUsuarios[ nFor ][ 1 ] , 0 )
NEXT
AdsMgDisconnect()
Return( Nil )
↧