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