Open dbosk opened 9 months ago
Right now we have the lsgroups script. But we could get that functionality by adding a -u parameter to the groups command, so that it only outputs the groups containing a certain user.
lsgroups
-u
groups
This is what canvaslms users -c prgm23 -C Labb | grep "user" also does. However, it's rather slow without caching.
canvaslms users -c prgm23 -C Labb | grep "user"
Right now we have the
lsgroups
script. But we could get that functionality by adding a-u
parameter to thegroups
command, so that it only outputs the groups containing a certain user.