Partager via


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

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