A Sandcastle Documented Class Library

# GroupController GetGroupMembershipForGroup Method

Note: This API is now obsolete.

GET /Group/GroupMembership/{id} OBSOLETE - Use POST /Group/GetMemberOf/ instead. Gets the groups that a group is a member of.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [ObsoleteAttribute("Deprecated. Use GetMemberOf instead.")]
    [HttpGetAttribute]
    [ActionNameAttribute("GroupMembership")]
    public IActionResult GetGroupMembershipForGroup(
    	Guid id,
    	bool includeInherited,
    	Guid? sessionId = null
    )

    <ObsoleteAttribute("Deprecated. Use GetMemberOf instead.")>
    <HttpGetAttribute>
    <ActionNameAttribute("GroupMembership")>
    Public Function GetGroupMembershipForGroup (
    	id As Guid,
    	includeInherited As Boolean,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [ObsoleteAttribute(L"Deprecated. Use GetMemberOf instead.")]
    [HttpGetAttribute]
    [ActionNameAttribute(L"GroupMembership")]
    IActionResult^ GetGroupMembershipForGroup(
    	Guid id,
    	bool includeInherited,
    	Nullable<Guid> sessionId = nullptr
    )

    [<ObsoleteAttribute("Deprecated. Use GetMemberOf instead.")>]
    [<HttpGetAttribute>]
    [<ActionNameAttribute("GroupMembership")>]
    member GetGroupMembershipForGroup :
            id : Guid *
            includeInherited : bool *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the group which data is requested.
includeInherited
  Type: System
  Boolean
  If set to
  , then inherited groups are included.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
An array of GroupData objects, or a status code indicating the problem.
See Also

#### Reference

GroupController Class
Dundas.BI.WebApi.Controllers Namespace