Method GetGroupUsersAsync
GetGroupUsersAsync()
Gets the users, owner, and administrators of the group.
Declaration
public Task<PortalGroupUsers> GetGroupUsersAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PortalGroupUsers> | The task object representing the asynchronous get group users operation. The value of the task result is a PortalGroupUsers object. |
Remarks
This Method obtains a PortalGroupUsers object which provides user information for a single PortalGroup such as: the usernames of the administrators of the group, and the usernames of the members who can access information in the group. PortalGroup objects are collections (aka. groups) of items, usually related to a specific area of interest such as maps, applications, and tools. Groups allow members to contribute items as a useful way to collaborate.
You do not have to be a logged in user to get information from this method. You can gain this information from anonymous access. However, to obtain information about a group that has a PortalAccess level of Private or Shared you need to use the AuthenticationManager by supplying the appropriate username/password credentials. As AGOL and ArcGIS Portal require the use of long term tokens to access secured information (i.e. information that is Private/Shared).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
GetGroupUsersAsync(CancellationToken)
Gets the users, owner, and administrators of the group.
Declaration
public Task<PortalGroupUsers> GetGroupUsersAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | Token that may be used to cancel the async operation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PortalGroupUsers> | The task object representing the asynchronous get group users operation. The value of the task result is a PortalGroupUsers object. |
Remarks
This Method obtains a PortalGroupUsers object which provides user information for a single PortalGroup such as: the usernames of the administrators of the group, and the usernames of the members who can access information in the group. PortalGroup objects are collections (aka. groups) of items, usually related to a specific area of interest such as maps, applications, and tools. Groups allow members to contribute items as a useful way to collaborate.
You do not have to be a logged in user to get information from this method. You can gain this information from anonymous access. However, to obtain information about a group that has a PortalAccess level of Private or Shared you need to use the AuthenticationManager by supplying the appropriate username/password credentials. As AGOL and ArcGIS Portal require the use of long term tokens to access secured information (i.e. information that is Private/Shared).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |