[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePosixAccount\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.OsLogin.Common\u003c/code\u003e namespace represents the POSIX account information associated with a Google account, and it can be found with the latest version being 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionality for message handling, equality checks, deep cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePosixAccount\u003c/code\u003e contains properties such as \u003ccode\u003eAccountId\u003c/code\u003e, \u003ccode\u003eGecos\u003c/code\u003e, \u003ccode\u003eGid\u003c/code\u003e, \u003ccode\u003eHomeDirectory\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eOperatingSystemType\u003c/code\u003e, \u003ccode\u003ePrimary\u003c/code\u003e, \u003ccode\u003eShell\u003c/code\u003e, \u003ccode\u003eSystemId\u003c/code\u003e, \u003ccode\u003eUid\u003c/code\u003e, and \u003ccode\u003eUsername\u003c/code\u003e for defining the account details.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003ePosixAccount\u003c/code\u003e class: a default constructor and one that takes another \u003ccode\u003ePosixAccount\u003c/code\u003e instance as a parameter for copying its data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePosixAccount\u003c/code\u003e class is versioned, with available versions ranging from 2.2.0 to the latest 3.3.0.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.OsLogin.Common - Class PosixAccount (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common.PosixAccount)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/3.2.0/Google.Cloud.OsLogin.Common.PosixAccount)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/3.1.0/Google.Cloud.OsLogin.Common.PosixAccount)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/3.0.0/Google.Cloud.OsLogin.Common.PosixAccount)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/2.3.0/Google.Cloud.OsLogin.Common.PosixAccount)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/2.2.0/Google.Cloud.OsLogin.Common.PosixAccount) \n\n public sealed class PosixAccount : IMessage\u003cPosixAccount\u003e, IEquatable\u003cPosixAccount\u003e, IDeepCloneable\u003cPosixAccount\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google.Cloud.OsLogin.Common class PosixAccount.\n\nThe POSIX account information associated with a Google account. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PosixAccount \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PosixAccount](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common.PosixAccount), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PosixAccount](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common.PosixAccount), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PosixAccount](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common.PosixAccount), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.OsLogin.Common](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common)\n\nAssembly\n--------\n\nGoogle.Cloud.OsLogin.Common.dll\n\nConstructors\n------------\n\n### PosixAccount()\n\n public PosixAccount()\n\n### PosixAccount(PosixAccount)\n\n public PosixAccount(PosixAccount other)\n\nProperties\n----------\n\n### AccountId\n\n public string AccountId { get; set; }\n\nOutput only. A POSIX account identifier.\n\n### Gecos\n\n public string Gecos { get; set; }\n\nThe GECOS (user information) entry for this account.\n\n### Gid\n\n public long Gid { get; set; }\n\nThe default group ID.\n\n### HomeDirectory\n\n public string HomeDirectory { get; set; }\n\nThe path to the home directory for this account.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The canonical resource name.\n\n### OperatingSystemType\n\n public OperatingSystemType OperatingSystemType { get; set; }\n\nThe operating system type where this account applies.\n\n### PosixAccountName\n\n public PosixAccountName PosixAccountName { get; set; }\n\n[PosixAccountName](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common.PosixAccountName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.OsLogin.Common/latest/Google.Cloud.OsLogin.Common.PosixAccount#Google_Cloud_OsLogin_Common_PosixAccount_Name) resource name property.\n\n### Primary\n\n public bool Primary { get; set; }\n\nOnly one POSIX account can be marked as primary.\n\n### Shell\n\n public string Shell { get; set; }\n\nThe path to the logic shell for this account.\n\n### SystemId\n\n public string SystemId { get; set; }\n\nSystem identifier for which account the username or uid applies to.\nBy default, the empty value is used.\n\n### Uid\n\n public long Uid { get; set; }\n\nThe user ID.\n\n### Username\n\n public string Username { get; set; }\n\nThe username of the POSIX account."]]