swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector SignedInUser API schemes: - https tags: - name: SignedInUser paths: /{tenantID}/me: get: tags: - SignedInUser operationId: microsoftAzureSignedinuserGet description: Gets the details for the currently logged-in user. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/tenantIDInPath' responses: '200': description: OK. The operation was successful. schema: $ref: '#/definitions/User' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/GraphError' summary: Microsoft Azure Get Tenantid Me /{tenantID}/me/ownedObjects: get: tags: - SignedInUser operationId: microsoftAzureSignedinuserListownedobjects description: Get the list of directory objects that are owned by the user. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/tenantIDInPath' responses: '200': description: OK. The operation was successful. schema: $ref: '#/definitions/DirectoryObjectListResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/GraphError' x-ms-pageable: nextLinkName: odata.nextLink operationName: SignedInUser_ListOwnedObjectsNext summary: Microsoft Azure Get Tenantid Me Ownedobjects definitions: ErrorMessage: type: object properties: value: type: string x-ms-client-name: message description: Error message value. description: Active Directory error message. SignInName: type: object properties: type: type: string description: A string value that can be used to classify user sign-in types in your directory, such as 'emailAddress' or 'userName'. value: type: string description: The sign-in used by the local account. Must be unique across the company/tenant. For example, 'johnc@example.com'. additionalProperties: type: object description: Contains information about a sign-in name of a local account user in an Azure Active Directory B2C tenant. GraphError: type: object properties: odata.error: type: object x-ms-client-flatten: true $ref: '#/definitions/OdataError' description: A Graph API error. description: Active Directory error information. DirectoryObject: type: object discriminator: objectType properties: objectId: type: string description: The object ID. readOnly: true objectType: type: string description: The object type. deletionTimestamp: type: string format: date-time description: The time at which the directory object was deleted. readOnly: true x-nullable: true required: - objectType additionalProperties: type: object description: Represents an Azure Active Directory object. User: type: object allOf: - $ref: '#/definitions/DirectoryObject' properties: immutableId: type: string description: This must be specified if you are using a federated domain for the user's userPrincipalName (UPN) property when creating a new user account. It is used to associate an on-premises Active Directory user account with their Azure AD user object. usageLocation: type: string description: 'A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: "US", "JP", and "GB".' givenName: type: string description: The given name for the user. surname: type: string description: The user's surname (family name or last name). userType: type: string description: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. enum: - Member - Guest x-ms-enum: name: UserType modelAsString: true accountEnabled: type: boolean description: Whether the account is enabled. displayName: type: string description: The display name of the user. userPrincipalName: type: string description: The principal name of the user. mailNickname: type: string description: The mail alias for the user. mail: type: string description: The primary email address of the user. signInNames: type: array items: $ref: '#/definitions/SignInName' description: The sign-in names of the user. description: Active Directory user information. OdataError: type: object properties: code: type: string description: Error code. message: type: object x-ms-client-flatten: true $ref: '#/definitions/ErrorMessage' description: Error Message. description: Active Directory OData error information. DirectoryObjectListResult: type: object properties: value: type: array items: $ref: '#/definitions/DirectoryObject' description: A collection of DirectoryObject. odata.nextLink: type: string description: The URL to get the next set of results. description: DirectoryObject list operation result. parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client API version. tenantIDInPath: name: tenantID in: path required: true type: string description: The tenant ID. x-ms-parameter-location: client x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'