[][src]Trait sunshine_util::traits::GroupMembership

pub trait GroupMembership<AccountId>: GetGroupSize {
    fn is_member_of_group(group_id: Self::GroupId, who: &AccountId) -> bool;
}

Checks that the AccountId is a member of a share group in an organization

Required methods

fn is_member_of_group(group_id: Self::GroupId, who: &AccountId) -> bool

Loading content...

Implementors

Loading content...