import { _GraphCollection, _GraphInstance } from "../graphqueryable.js"; import { DirectoryObject as IDirectoryObjectType } from "@microsoft/microsoft-graph-types"; import { IGetById, IDeleteable } from "../decorators.js"; /** * Represents a Directory Object entity */ export declare class _DirectoryObject extends _GraphInstance { /** * Returns all the groups and directory roles that the specified Directory Object is a member of. The check is transitive * * @param securityEnabledOnly */ getMemberObjects(securityEnabledOnly?: boolean): Promise; /** * Returns all the groups that the specified Directory Object is a member of. The check is transitive * * @param securityEnabledOnly */ getMemberGroups(securityEnabledOnly?: boolean): Promise; /** * Check for membership in a specified list of groups, and returns from that list those groups of which the specified user, group, or directory object is a member. * This function is transitive. * @param groupIds A collection that contains the object IDs of the groups in which to check membership. Up to 20 groups may be specified. */ checkMemberGroups(groupIds: string[]): Promise; } export interface IDirectoryObject extends _DirectoryObject, IDeleteable { } export declare const DirectoryObject: import("../graphqueryable.js").IGraphInvokableFactory; /** * Describes a collection of Directory Objects * */ export declare class _DirectoryObjects extends _GraphCollection { /** * Returns the directory objects specified in a list of ids. NOTE: The directory objects returned are the full objects containing all their properties. * The $select query option is not available for this operation. * * @param ids A collection of ids for which to return objects. You can specify up to 1000 ids. * @param type A collection of resource types that specifies the set of resource collections to search. Default is directoryObject. */ getByIds(ids: string[], type?: DirectoryObjectTypes): Promise; /** * Retrieves the total count of matching resources * If the resource doesn't support count, this value will always be zero */ count(): Promise; } export interface IDirectoryObjects extends _DirectoryObjects, IGetById { } export declare const DirectoryObjects: import("../graphqueryable.js").IGraphInvokableFactory; /** * DirectoryObjectTypes */ export declare enum DirectoryObjectTypes { /** * Directory Objects */ directoryObject = 0, /** * User */ user = 1, /** * Group */ group = 2, /** * Device */ device = 3 } //# sourceMappingURL=types.d.ts.map