Return the groups list for a given user
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public IEnumerable<Group> GroupGetList( string lang, int page, int perPage ) |
Visual Basic (Declaration) |
---|
Public Function GroupGetList ( _ lang As String, _ page As Integer, _ perPage As Integer _ ) As IEnumerable(Of Group) |
Visual C++ |
---|
public: IEnumerable<Group^>^ GroupGetList( String^ lang, int page, int perPage ) |
Parameters
- lang
- Type: System..::.String
The language code of the group title and description to fetch.
- page
- Type: System..::.Int32
The page of results to return.
- perPage
- Type: System..::.Int32
The number of records to return on each page. (Default is 100, maximum is 100)
Return Value
A list of GroupRemarks
This method does not require any particular permission.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity |