Google Admin console में डाइनैमिक ग्रुप के लिए सदस्यता क्वेरी बनाने के लिए, डिफ़ॉल्ट स्टैंडर्ड एट्रिब्यूट, आपके बनाए गए कस्टम एट्रिब्यूट या दोनों का इस्तेमाल किया जा सकता है.
इस पेज पर
- स्टैंडर्ड एट्रिब्यूट का इस्तेमाल करना
- कस्टम एट्रिब्यूट का इस्तेमाल करना
- उपयोगकर्ता को डाइनैमिक ग्रुप में अपने-आप शामिल करना
- डाइनैमिक ग्रुप से उपयोगकर्ताओं को बाहर रखना
स्टैंडर्ड एट्रिब्यूट का इस्तेमाल करना
Admin console में डाइनैमिक ग्रुप बनाते समय, शर्तों की सूची से स्टैंडर्ड एट्रिब्यूट चुने जाते हैं. डाइनैमिक ग्रुप के लिए सदस्यता क्वेरी बनाने के लिए, यहां दी गई टेबल में मौजूद सभी एट्रिब्यूट का इस्तेमाल किया जा सकता है.
|
एट्रिब्यूट |
कोड का सैंपल |
|---|---|
|
देश addresses.country |
user.addresses.exists(address, address.country == 'Canada') |
|
देश का कोड addresses.country_code |
user.addresses.exists(address, address.country_code == '555') |
|
कस्टम पते का टाइप addresses.custom_type |
user.addresses.exists(address, address.custom_type=='Custom address type') |
|
एक्सटेंड किया गया पता addresses.extended_address |
user.addresses.exists(address, address.extended_address=='California, USA') |
|
इलाके की जानकारी addresses.locality |
user.addresses.exists(address, address.locality=='Southern California') |
|
ज़िप / पिन कोड addresses.postal_code |
user.addresses.exists(address, address.postal_code=='94040') |
|
पीओ बॉक्स addresses.po_box |
user.addresses.exists(address, address.po_box=='87132') |
|
क्या यह प्राइमरी पता है addresses.primary |
user.addresses.exists(address, address.primary==true) |
|
क्षेत्र addresses.region |
user.addresses.exists(address, address.region=='Southwest') |
|
मोहल्ले का पता addresses.street_address |
user.addresses.exists(address, address.street_address=='123 Fake St') |
|
पते का टाइप addresses.type |
user.addresses.exists(address, address.type==1) |
|
ईमेल पता emails.address |
user.emails.exists(email, email.address.startsWith('')) |
|
कस्टम ईमेल पते का टाइप emails.custom_type |
email.address.startsWith('custom@google.com') |
|
Is email primary emails.primary |
user.emails.exists(email, email.primary==true) |
|
ईमेल का टाइप emails.type |
user.emails.exists(email, email.type==1) |
|
कस्टम बाहरी आईडी का टाइप external_ids.custom_type |
user.external_ids.exists(id, id.custom_type.startsWith('runner')) |
|
बाहरी आईडी का टाइप external_ids.type |
user.external_ids.exists(id, id.type==3) |
|
बाहरी आईडी external_ids.value |
user.external_ids.exists(id, id.value=='') |
|
जेंडर प्रोनाउन्स gender.address_me_as |
user.gender.address_me_as=='they/them' |
|
कस्टम जेंडर का टाइप gender.custom_gender |
user.gender.custom_gender.startsWith('custom gender') |
|
जेंडर का टाइप gender.type |
user.gender.type==3 |
|
कस्टम आईएमएस प्रोटोकॉल ims.custom_protocol |
user.ims.exists(im, im.custom_protocol.startsWith('custom')) |
|
कस्टम आईएमएस का टाइप ims.custom_type |
user.ims.exists(im, im.custom_type.startsWith('custom')) |
|
स्टैंडर्ड आईएमएस प्रोटोकॉल ims.standard_protocol |
user.ims.exists(im, im.standard_protocol==7) |
|
Is IMS primary ims.primary |
user.ims.exists(im, im.primary==true) |
|
आईएमएस का टाइप ims.type |
user.ims.exists(im, im.type==3) |
|
इंस्टेंट मैसेंजर ims.value |
user.ims.exists(im, im.value=='chat') |
|
कस्टम कीवर्ड का टाइप keywords.custom_type |
user.keywords.exists(keyword, keyword.custom_type.startsWith('contractor')) |
|
कीवर्ड टाइप keywords.type |
user.keywords.exists(keyword, keyword.type==3) |
|
कीवर्ड keywords.value |
user.keywords.exists(keyword, keyword.value=='engineer') |
|
भाषा कोड languages.language_code |
user.languages.exists(language, language.language_code=='English') |
|
जगह की जानकारी locations.area |
user.locations.exists(loc, loc.area=='Near San Francisco') |
|
इमारत का आईडी locations.building_id |
user.locations.exists(loc, loc.building_id=='') |
|
कस्टम जगह का टाइप locations.custom_type |
user.locations.exists(loc, loc.custom_type=='Region') |
|
डेस्क कोड locations.desk_code |
user.locations.exists(loc, loc.desk_code=='Desk 37') |
|
फ़्लोर का नाम locations.floor_name |
user.locations.exists(loc, loc.floor_name=='') |
|
फ़्लोर सेक्शन locations.floor_section |
user.locations.exists(loc, loc.floor_section=='') |
|
जगह की जानकारी का टाइप locations.type |
user.locations.exists(loc, loc.type==1) |
|
उपनाम name.family_name |
user.name.family_name=='' |
|
नाम name.given_name |
user.name.given_name=='' |
|
नाम name.value |
user.name.value=='' |
|
कॉस्ट सेंटर organizations.cost_center |
user.organizations.exists(org, org.cost_center=='') |
|
संगठन का कस्टम टाइप organizations.custom_type |
user.organizations.exists(org, org.custom_type=='nonprofit') |
|
डिपार्टमेंट organizations.department |
user.organizations.exists(org, org.department=='') |
|
कर्मचारी का टाइप organizations.description |
user.organizations.exists(org, org.description=='search provider') |
|
डोमेन organizations.domain |
user.organizations.exists(org, org.domain=='example.net') |
|
संगठन की जगह की जानकारी organizations.location |
user.organizations.exists(org, org.location=='California') |
|
संगठन का नाम organizations.name |
user.organizations.exists(org, org.name=='Google') |
|
Is organization primary organizations.primary |
user.organizations.exists(org, org.primary==true) |
|
संगठन का सिंबल organizations.symbol |
user.organizations.exists(org, org.symbol=='GOOG') |
|
पद का नाम organizations.title |
user.organizations.exists(org, org.title=='') |
|
संगठन का टाइप organizations.type |
user.organizations.exists(org, org.type==2) |
|
कस्टम फ़ोन नंबर का टाइप phones.custom_type |
user.phones.exists(phone, phone.custom_type.startsWith('new type')) |
|
Is phone primary phones.primary |
user.phones.exists(phone, phone.primary==true) |
|
फ़ोन का टाइप phones.type |
user.phones.exists(phone, phone.type==11) |
|
फ़ोन नंबर phones.value |
user.phones.exists(phone, phone.value=='') |
|
कस्टम संबंध का टाइप relations.custom_type |
user.relations.exists(rel, rel.custom_type=='example') |
|
संबंध की वैल्यू relations.value |
user.relations.exists(rel, rel.value=='Sundar') |
|
संबंध का टाइप relations.type |
user.relations.exists(rel, rel.type==12) |
|
कस्टम वेबसाइट का टाइप websites.custom_type |
user.websites.exists(site, site.custom_type.startsWith('creative writing')) |
|
क्या यह प्राइमरी वेबसाइट है websites.primary |
user.websites.exists(site, site.primary==true) |
|
वेबसाइट का टाइप websites.type |
user.websites.exists(site, site.type==2) |
|
वेबसाइट websites.value |
user.websites.exists(site, site.value=='google.com') |
|
संगठन की पुरानी इकाई org_units.org_unit_id |
user.org_units.exists(org_unit, org_unit.org_unit_id==orgUnitId('')) |
|
मैनेजर का ईमेल पता managers.user_id |
user.managers.exists(manager, manager.user_id==userId('')) |
|
संग्रहित किया गया संगृहीत |
user.archived==true |
|
लॉग इन करते समय पासवर्ड बदलना change_password_at_next_login |
user.change_password_at_next_login==true |
|
दो चरणों में पुष्टि करने की सुविधा लागू की गई is_2sv_enforced |
user.is_2sv_enforced==true |
|
दो चरणों में पुष्टि की सुविधा के लिए रजिस्टर किया गया हो is_enrolled_in_2sv |
user.is_enrolled_in_2sv==true |
|
क्या मेलबॉक्स को सेट अप कर दिया गया है is_mailbox_setup |
user.is_mailbox_setup==true |
|
मुख्य ईमेल पता primary_email |
user.primary_email=='' |
|
निलंबित किया गया है निलंबित |
user.suspended==true |
|
निलंबित किए जाने की वजह suspension_reason |
user.suspension_reason==4 |
|
संगठन की पैरंट इकाई org_unit_id |
user.org_unit_id==orgUnitId('') |
|
लिंग Gender.Gender |
user.custom_schemas.Gender.Gender.exists(G, G=='') |
|
जाति Ethnicity.Ethnicity |
user.custom_schemas.Ethnicity.Ethnicity.exists(E, E=='') |
कस्टम एट्रिब्यूट का इस्तेमाल करना
Admin console में सदस्यता क्वेरी बनाते समय, कस्टम एट्रिब्यूट, शर्त की सूची में स्टैंडर्ड एट्रिब्यूट के बाद दिखते हैं.
अगर आपने कोई ऐसी क्वेरी चलाई है जिसमें कस्टम एट्रिब्यूट शामिल है और क्वेरी के नतीजे में कोई सदस्य नहीं दिखता है, तो हो सकता है कि Groups API में एट्रिब्यूट की प्रॉपर्टी गलत तरीके से सेट की गई हों. खास तौर पर, "indexed" प्रॉपर्टी को सही पर सेट करना ज़रूरी है. ज़्यादा जानकारी के लिए, उपयोगकर्ता के कस्टम एट्रिब्यूट पर जाएं.
उपयोगकर्ता को डाइनैमिक ग्रुप में अपने-आप शामिल करना
किसी उपयोगकर्ता के खाते की जानकारी में बदलाव किया जा सकता है, ताकि वह क्वेरी की शर्तों से मेल खाए. इससे उपयोगकर्ता को डाइनैमिक ग्रुप में अपने-आप शामिल किया जा सकेगा. Directory API का इस्तेमाल करके, किसी उपयोगकर्ता के खाते की जानकारी में बदलाव किया जा सकता है. ज़्यादा जानकारी के लिए, उपयोगकर्ता खाते को अपडेट करना लेख पढ़ें.
Admin console में जाकर, उपयोगकर्ता खाते की कुछ जानकारी में भी बदलाव किया जा सकता है. आम तौर पर, यह काम 'उपयोगकर्ता' पेज पर जाकर किया जाता है. इसमें ये बदलाव शामिल हैं:
| दो चरणों में पुष्टि करने की सुविधा लागू की गई | दो चरणों में पुष्टि करने की सुविधा के लिए रजिस्टर किया गया |
| पता किस तरह का है | संगठन की पुरानी इकाई |
| बिल्डिंग का आईडी | लॉग इन करते समय पासवर्ड बदलना |
| कॉस्ट सेंटर | विभाग |
| ईमेल पता | ईमेल प्रकार |
| बाहरी आईडी | नाम |
| फ़्लोर का नाम | फ़्लोर सेक्शन |
| संग्रहित किया गया | Is email primary |
| क्या मेलबॉक्स को सेट अप कर दिया गया है | निलंबित किया गया हो |
| पद का नाम | उपनाम |
| प्रबंधक उपयोगकर्ता ID | नाम |
| संगठन की पैरंट इकाई | फ़ोन नंबर |
| फ़ोन का टाइप |
उपयोगकर्ताओं को डाइनैमिक ग्रुप से बाहर करना
सिर्फ़ उन उपयोगकर्ताओं को जोड़ने के लिए जो किसी शर्त को पूरा नहीं करते हैं, डाइनैमिक ग्रुप के लिए एक शर्त बनाएं. इसके बाद, बाहर रखें पर क्लिक करें. उदाहरण के लिए, अगर आपको सिर्फ़ उन उपयोगकर्ताओं का ग्रुप बनाना है जो अमेरिका में नहीं रहते हैं, तो "देश का कोड US के बराबर है" शर्त बनाएं. इसके बाद, बाहर रखें
पर क्लिक करें. क्वेरी में, बाहर रखे गए डेटा के लिए आपको विस्मयादिबोधक चिह्न (!) मिलता है.
"exists" पैरामीटर वाली कुछ कस्टम क्वेरी के लिए, बाहर रखने के विकल्प का इस्तेमाल नहीं किया जा सकता. ज़्यादा जानकारी के लिए, क्वेरी बनाना और उसकी जांच करना पर जाएं.