GroupManager.AddGroup Method (String, GroupDetailInfo)
Adds a user group account with the specified group name and group information.
Namespace: Microsoft.WindowsServerSolutions.Groups
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public Group AddGroup(
string groupName,
GroupDetailInfo info
)
public:
Group^ AddGroup(
String^ groupName,
GroupDetailInfo^ info
)
Public Function AddGroup (
groupName As String,
info As GroupDetailInfo
) As Group
Parameters
groupName
Type: System.StringThe name of the group.
info
Type: Microsoft.WindowsServerSolutions.Groups.GroupDetailInfoThe GroupDetailInfo object that contains information about the group.
Return Value
Type: Microsoft.WindowsServerSolutions.Groups.Group
The Group object that contains the user group.
See Also
GroupManager Class
Microsoft.WindowsServerSolutions.Groups Namespace
Return to top