WindowsSecurityContextOptionsV1.RunAsUserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the username of the account to run the process as, within the context of a Windows container.
[YamlDotNet.Serialization.YamlMember(Alias="runAsUserName")]
public string RunAsUserName { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="runAsUserName")>]
member this.RunAsUserName : string with get, set
Public Property RunAsUserName As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property is used to set the user identity when executing a process under a specific Windows Security Context. Ensure the specified username exists and has the appropriate permissions within the container.