UserDefaultGid
Gets or sets the default GID (32-bit) for new user profiles in the zone.
Syntax
int UserDefaultGid {get; set;}
Property value
The GID. If set to -1, IBM Security uses auto private group 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 32-bit value for use in VBScript scripts. Use the
UserDefaultPrimaryGroup
property for 64-bit GIDs.
Exceptions
UserDefaultGid
may throw one of the following exceptions:
-
InvalidOperationException
if you try to get the default GID and it has not been defined. -
FormatException
if the default GID value is not valid.