Listings 6 and 7 show the UserManager interface and its implementation.
清单6和7展示了UserManager接口及其实现。
This is achieved by using the UserManager object that can be obtained from the OS module, like below.
该任务是使用UserManager对象实现的,这个对象可以像下面这样从OS模块获得。
Similarly, group operations are possible by using the addgroup() and deletegroup() methods in the UserManager object.
类似地,组操作也可以使用 UserManager 对象中的 addgroup() 和 deletegroup() 方法来完成。
应用推荐