Package cu.ftpd.user.userbases.local

Examples of cu.ftpd.user.userbases.local.LocalUser.addGroup()


                    se.set(UserStatistics.DAYUP_TIME, Long.parseLong(parts[2]) / 1000);
                    statistics.store(se);
                } else if (line.startsWith("GROUP")) {
                    String[] groupdata = line.substring(5).trim().split(" ", 2);
                    final String group = groupdata[0].trim();
                    user.addGroup(group);
                    if ("1".equals(groupdata[1].trim())) {
                        user.addGadminForGroup(group, false);
                    }
                    if (!hasPrimaryGroupSet) {
                        hasPrimaryGroupSet = true;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.