你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RunAsPolicyDescription Class

  • java.lang.Object
    • system.fabric.description.RunAsPolicyDescription

public class RunAsPolicyDescription

Describes the RunAsPolicy associated with a CodePackage specified in application manifest.

Constructor Summary

Constructor Description
RunAsPolicyDescription(String userName)

Method Summary

Modifier and Type Method and Description
String getUsername()

Gets or sets the UserName specified in RunAsPolicy associated with a CodePackage.

Constructor Details

RunAsPolicyDescription

public RunAsPolicyDescription(String userName)

Parameters:

userName

Method Details

getUsername

public String getUsername()

Gets or sets the UserName specified in RunAsPolicy associated with a CodePackage.

Returns:

The UserName specified in RunAsPolicy associated with a CodePackage.

Applies to