সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি নতুন EMM-পরিচালিত ব্যবহারকারী তৈরি করে।
অনুরোধের মূল অংশে পাস করা ব্যবহারকারীদের সংস্থানগুলিতে একটি accountIdentifier এবং একটি accountType অন্তর্ভুক্ত করা উচিত।
যদি একই অ্যাকাউন্ট শনাক্তকারীর সাথে একটি সংশ্লিষ্ট ব্যবহারকারী ইতিমধ্যেই বিদ্যমান থাকে তবে ব্যবহারকারীকে সংস্থান সহ আপডেট করা হবে। এই ক্ষেত্রে শুধুমাত্র displayName ক্ষেত্র পরিবর্তন করা যেতে পারে।
অনুরোধ
HTTP অনুরোধ
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users
পরামিতি
পরামিতি নাম
মান
বর্ণনা
পাথ প্যারামিটার
enterpriseId
string
এন্টারপ্রাইজের আইডি।
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত সুযোগের সাথে অনুমোদন প্রয়োজন:
অনুরোধের অংশে, নিম্নলিখিত বৈশিষ্ট্য সহ একটি ব্যবহারকারী সংস্থান সরবরাহ করুন:
সম্পত্তির নাম
মান
বর্ণনা
নোট
প্রয়োজনীয় বৈশিষ্ট্য
accountIdentifier
string
এই ব্যবহারকারীর জন্য আপনি একটি অনন্য শনাক্তকারী তৈরি করেন, যেমন "user342" বা "asset#44418"। এই সম্পত্তির জন্য ব্যক্তিগতভাবে শনাক্তযোগ্য তথ্য (PII) ব্যবহার করবেন না। EMM-পরিচালিত ব্যবহারকারীদের জন্য সর্বদা সেট করা আবশ্যক। Google-পরিচালিত ব্যবহারকারীদের জন্য সেট করা নেই।
accountType
string
অ্যাকাউন্টের ধরন যা এই ব্যবহারকারীর প্রতিনিধিত্ব করে। একটি userAccount একাধিক ডিভাইসে ইনস্টল করা যেতে পারে, কিন্তু একটি deviceAccount একটি একক ডিভাইসের জন্য নির্দিষ্ট। একটি EMM-পরিচালিত ব্যবহারকারী ( emmManaged ) হয় টাইপ হতে পারে ( userAccount , deviceAccount ), কিন্তু একজন Google-পরিচালিত ব্যবহারকারী ( googleManaged ) সর্বদাই একটি userAccount ।
গ্রহণযোগ্য মান হল:
" deviceAccount "
" userAccount "
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি প্রতিক্রিয়া বডিতে একটি ব্যবহারকারীর সম্পদ প্রদান করে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCreates or updates an EMM-managed user within a specified enterprise.\u003c/p\u003e\n"],["\u003cp\u003eRequires an \u003ccode\u003eaccountIdentifier\u003c/code\u003e and \u003ccode\u003eaccountType\u003c/code\u003e to define the user.\u003c/p\u003e\n"],["\u003cp\u003eUses a POST request to the \u003ccode\u003e/enterprises/enterpriseId/users\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edisplayName\u003c/code\u003e is the only field that can be updated for existing users.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is necessary.\u003c/p\u003e\n"]]],[],null,["# Users: insert\n\n| **Note:** Requires [authorization](#auth).\n\nCreates a new EMM-managed user.\n\n\u003cbr /\u003e\n\n\nThe [Users](/android/work/play/emm-api/v1/users) resource\npassed in the body of the request should include an\n`accountIdentifier` and an `accountType`.\n\nIf a corresponding user already exists with the same account identifier,\nthe user will be updated with the resource. In this case only the\n`displayName` field can be changed.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply a [Users resource](/android/work/play/emm-api/v1/users#resource) with the following properties:\n\n| Property name | Value | Description | Notes |\n|---------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| **Required Properties** ||||\n| `accountIdentifier` | `string` | A unique identifier you create for this user, such as \"user342\" or \"asset#44418\". Do not use personally identifiable information (PII) for this property. Must always be set for EMM-managed users. Not set for Google-managed users. | |\n| `accountType` | `string` | The type of account that this user represents. A `userAccount` can be installed on multiple devices, but a `deviceAccount` is specific to a single device. An EMM-managed user (`emmManaged`) can be either type (`userAccount`, `deviceAccount`), but a Google-managed user (`googleManaged`) is always a `userAccount`. \u003cbr /\u003e Acceptable values are: - \"`deviceAccount`\" - \"`userAccount`\" | |\n\nResponse\n--------\n\nIf successful, this method returns a [Users resource](/android/work/play/emm-api/v1/users#resource) in the response body."]]