Here are the examples of the python api win32net.NetLocalGroupAdd taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
@classmethod
def create(cls, groupname, system=None):
"""Create a new group. Return a :class:`Group` for the new group.
:param groupname: name of the new group. Must not already exist on `system`
:param system: optional security authority
:returns: a :class:`Group` for `groupname`
"""
wrapped(win32net.NetLocalGroupAdd, system, 0, dict(name=groupname))
return cls.from_string(groupname, system)