UserDefaultPrimaryGroup
Gets or sets the default GID (64-bit) for new user profiles in the zone.
Syntax
long UserDefaultPrimaryGroup {get; set;}
Property value
The GID. If set to -1, IBM Security uses private groups for new user profiles (see
UseAutoPrivateGroup).
Discussion
This property returns an error if the default GID has not been defined. Call the
IsUserDefaultPrimaryGroupDefined property to determine whether the default GID
is defined.
This property uses a 64-bit value for use in .NET modules. Use the
UserDefaultGid property for VBScript.
Exceptions
UserDefaultPrimaryGroup may throw one of the following exceptions:
-
InvalidOperationExceptionif you try to get the default GID and it has not been defined. -
FormatExceptionif the default GID value is not valid.