PosixAccount Stay organized with collections Save and categorize content based on your preferences.
The POSIX account information associated with a Google account.
| JSON representation |
|---|
{"primary":boolean,"username":string,"uid":string,"gid":string,"homeDirectory":string,"shell":string,"gecos":string,"systemId":string,"accountId":string,"operatingSystemType":enum ( |
| Fields | |
|---|---|
primary |
Only one POSIX account can be marked as primary. |
username |
The username of the POSIX account. |
uid |
The user ID. |
gid |
The default group ID. |
homeDirectory |
The path to the home directory for this account. |
shell |
The path to the logic shell for this account. |
gecos |
The GECOS (user information) entry for this account. |
systemId |
System identifier for which account the username or uid applies to. By default, the empty value is used. |
accountId |
Output only. A POSIX account identifier. |
operatingSystemType |
The operating system type where this account applies. |
name |
Output only. The canonical resource name. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-28 UTC.