Documentation ¶
Index ¶
- type DirectoryObjectOperationPredicate
- type GetMemberOfCountOperationOptions
- type GetMemberOfCountOperationResponse
- type GetMemberOfOperationOptions
- type GetMemberOfOperationResponse
- type ListMemberOfsCompleteResult
- type ListMemberOfsCustomPager
- type ListMemberOfsOperationOptions
- type ListMemberOfsOperationResponse
- type MemberOfClient
- func (c MemberOfClient) GetMemberOf(ctx context.Context, id beta.UserIdMemberOfId, ...) (result GetMemberOfOperationResponse, err error)
- func (c MemberOfClient) GetMemberOfCount(ctx context.Context, id beta.UserId, options GetMemberOfCountOperationOptions) (result GetMemberOfCountOperationResponse, err error)
- func (c MemberOfClient) ListMemberOfs(ctx context.Context, id beta.UserId, options ListMemberOfsOperationOptions) (result ListMemberOfsOperationResponse, err error)
- func (c MemberOfClient) ListMemberOfsComplete(ctx context.Context, id beta.UserId, options ListMemberOfsOperationOptions) (ListMemberOfsCompleteResult, error)
- func (c MemberOfClient) ListMemberOfsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListMemberOfsOperationOptions, ...) (result ListMemberOfsCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input beta.DirectoryObject) bool
type GetMemberOfCountOperationOptions ¶
type GetMemberOfCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMemberOfCountOperationOptions ¶
func DefaultGetMemberOfCountOperationOptions() GetMemberOfCountOperationOptions
func (GetMemberOfCountOperationOptions) ToHeaders ¶
func (o GetMemberOfCountOperationOptions) ToHeaders() *client.Headers
func (GetMemberOfCountOperationOptions) ToOData ¶
func (o GetMemberOfCountOperationOptions) ToOData() *odata.Query
func (GetMemberOfCountOperationOptions) ToQuery ¶
func (o GetMemberOfCountOperationOptions) ToQuery() *client.QueryParams
type GetMemberOfOperationOptions ¶
type GetMemberOfOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetMemberOfOperationOptions ¶
func DefaultGetMemberOfOperationOptions() GetMemberOfOperationOptions
func (GetMemberOfOperationOptions) ToHeaders ¶
func (o GetMemberOfOperationOptions) ToHeaders() *client.Headers
func (GetMemberOfOperationOptions) ToOData ¶
func (o GetMemberOfOperationOptions) ToOData() *odata.Query
func (GetMemberOfOperationOptions) ToQuery ¶
func (o GetMemberOfOperationOptions) ToQuery() *client.QueryParams
type ListMemberOfsCompleteResult ¶
type ListMemberOfsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListMemberOfsCustomPager ¶
func (*ListMemberOfsCustomPager) NextPageLink ¶
func (p *ListMemberOfsCustomPager) NextPageLink() *odata.Link
type ListMemberOfsOperationOptions ¶
type ListMemberOfsOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListMemberOfsOperationOptions ¶
func DefaultListMemberOfsOperationOptions() ListMemberOfsOperationOptions
func (ListMemberOfsOperationOptions) ToHeaders ¶
func (o ListMemberOfsOperationOptions) ToHeaders() *client.Headers
func (ListMemberOfsOperationOptions) ToOData ¶
func (o ListMemberOfsOperationOptions) ToOData() *odata.Query
func (ListMemberOfsOperationOptions) ToQuery ¶
func (o ListMemberOfsOperationOptions) ToQuery() *client.QueryParams
type MemberOfClient ¶
func NewMemberOfClientWithBaseURI ¶
func NewMemberOfClientWithBaseURI(sdkApi sdkEnv.Api) (*MemberOfClient, error)
func (MemberOfClient) GetMemberOf ¶
func (c MemberOfClient) GetMemberOf(ctx context.Context, id beta.UserIdMemberOfId, options GetMemberOfOperationOptions) (result GetMemberOfOperationResponse, err error)
GetMemberOf - Get memberOf from users. The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand.
func (MemberOfClient) GetMemberOfCount ¶
func (c MemberOfClient) GetMemberOfCount(ctx context.Context, id beta.UserId, options GetMemberOfCountOperationOptions) (result GetMemberOfCountOperationResponse, err error)
GetMemberOfCount - Get the number of the resource
func (MemberOfClient) ListMemberOfs ¶
func (c MemberOfClient) ListMemberOfs(ctx context.Context, id beta.UserId, options ListMemberOfsOperationOptions) (result ListMemberOfsOperationResponse, err error)
ListMemberOfs - List a user's direct memberships. Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API.
func (MemberOfClient) ListMemberOfsComplete ¶
func (c MemberOfClient) ListMemberOfsComplete(ctx context.Context, id beta.UserId, options ListMemberOfsOperationOptions) (ListMemberOfsCompleteResult, error)
ListMemberOfsComplete retrieves all the results into a single object
func (MemberOfClient) ListMemberOfsCompleteMatchingPredicate ¶
func (c MemberOfClient) ListMemberOfsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListMemberOfsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListMemberOfsCompleteResult, err error)
ListMemberOfsCompleteMatchingPredicate retrieves all the results and then applies the predicate