Groups

Description

Returns a collection of groups to which the user belongs.

This is a read-only property; it can be viewed but not set.

Each element of the returned collection is a Group object. To add users to a group, use the AddUser method of the Group object.

Syntax

VBScript


user.Groups 

Perl


$user->GetGroups(); 
Identifier
Description
user
A User object.
Return value
A Groups collection object containing the groups to which this user belongs.