Class GroupDomain
All group related functionality
Inheritance
System.Object
GroupDomain
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dapplo.Confluence
Assembly: Dapplo.Confluence.dll
Syntax
public static class GroupDomain
Methods
| Improve this Doc View SourceGetGroupMembersAsync(IGroupDomain, String, PagingInformation, CancellationToken)
Get the members of a group
Declaration
public static async Task<IEnumerable<User>> GetGroupMembersAsync(this IGroupDomain confluenceClient, string groupName, PagingInformation pagingInformation = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IGroupDomain | confluenceClient | IGroupDomain to bind the extension method to |
System.String | groupName | string with the name of the group to retrieve the members for |
PagingInformation | pagingInformation | PagingInformation |
CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
Task<IEnumerable<User>> | List with Users |
GetGroupsAsync(IGroupDomain, PagingInformation, CancellationToken)
Get all the groups
Declaration
public static async Task<IList<Group>> GetGroupsAsync(this IGroupDomain confluenceClient, PagingInformation pagingInformation = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IGroupDomain | confluenceClient | IGroupDomain to bind the extension method to |
PagingInformation | pagingInformation | PagingInformation |
CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
Task<IList<Group>> | List with Groups |