Skip to main content

GroupRoles

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

A joined group's roles from the current user's point of view, with a permission check.

Constructors​

1 private and internal constructor
MemberWhat it is
internal GroupRoles(JoinedGroupManager groupManager, LowLevelApiClient api)Creates a GroupRoles from groupManager and api.

Fields​

2 private and internal fields
MemberWhat it is
private LowLevelApiClient apiLow level API client. Stored but not used in this class.
private JoinedGroupManager groupManagerThe joined group this belongs to.

Properties​

MemberWhat it is
GroupRoleInfo MyRole { get; }The current user's role in the group, found from their member info.

Methods​

MemberWhat it is
bool HaveIGotPermissions(params GroupPermissions[] permissions)True if the current user's role has every permission given.

Used in​

Members of other types that take, return or hold a GroupRoles: