IGroupGetAscendantGroupIds Method |
Returns the identifiers of all ascendant groups.
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax IList<int> GetAscendantGroupIds()
Function GetAscendantGroupIds As IList(Of Integer)
IList<int>^ GetAscendantGroupIds()
Return Value
Type:
IListInt32
Returns the list of all ascendant group identifiers.
Examples Get the list of all ascendant group identifiers.
var group = GroupFactory.FindById(context, 3);
var ascendantGroupIds = group.GetAscendantGroupIds();
foreach(int groupId in ascendantGroupIds)
{
Console.WriteLine($"Group id: {groupId}");
}
See Also