Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
User
Synopsis
- data Group = Group {
- gId :: Text
- gDisplayName :: Text
- gDescription :: Text
- getUserJoinedTeams :: Text -> AccessToken -> Req (Collection Group)
- getGroupsDriveItems :: Text -> AccessToken -> Req (Collection DriveItem)
Documentation
Groups are collections of principals with shared access to resources in Microsoft services or in your app. Different principals such as users, other groups, devices, and applications can be part of groups.
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http
Group | |
|
Instances
FromJSON Group Source # | |
Generic Group Source # | |
Show Group Source # | |
Eq Group Source # | |
Ord Group Source # | |
type Rep Group Source # | |
Defined in MSGraphAPI.Users.Group type Rep Group = D1 ('MetaData "Group" "MSGraphAPI.Users.Group" "ms-graph-api-0.7.0.0-6iJNojiWxjhIHN0oe2Qeyg" 'False) (C1 ('MetaCons "Group" 'PrefixI 'True) (S1 ('MetaSel ('Just "gId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "gDisplayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "gDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
:: Text | User ID |
-> AccessToken | |
-> Req (Collection Group) |
Get the teams in Microsoft Teams that the user is a direct member of.
GET /users/{id | user-principal-name}/joinedTeams
https://learn.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0&tabs=http
:: Text | Group ID |
-> AccessToken | |
-> Req (Collection DriveItem) |
Get the DriveItem
s in the Group
storage, starting from the root item
GET /groups/{group-id}/drive/root/children
https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http