Click or drag to resize

PortalUserCreateAsync Method (ArcGISPortal, String)

Initializes a new instance of the PortalUser class from the specified username.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public static Task<PortalUser> CreateAsync(
	ArcGISPortal portal,
	string username
)

Parameters

portal
Type: Esri.ArcGISRuntime.PortalArcGISPortal
The ArcGIS portal.
username
Type: SystemString
Name of the user.

Return Value

Type: TaskPortalUser
The task object representing the asynchronous create operation. The value of the task result is a PortalUser object.
See Also