Gets or sets the next UID to be used when adding users (64-bit for use with .NET).


long NextUID {get; set;}

Property value

The UID for new users.


This method returns or sets the next available UID to be used as the default UID assignment for the next user given access to the zone. If you are setting this property as part of creating a new zone, use this value to define the starting UID for all users in the zone. In most cases, this value is incremented automatically each time a new user is enabled for the zone. If you are creating new users programmatically, you can use this property to read the current value.

There are two versions of this property: one designed for COM-based programs (NextAvailableUID) that supports a 32-bit signed number for the UID and one designed for .NET-based programs (NextUID) that allows a 64-bit signed number for the UID. You can use either method.