简体   繁体   English

如何使用 interop.domino.dll c# 程序获取“Internet 域”和“地址名称格式”?

[英]How to get the "Internet Domain" and "Address name format" using interop.domino.dll c# program?

Domino Internet 域信息

How to get the internet domain and format information ?如何获取internet域名和格式信息? Since those information are needed in user registration process to set up internet address of the user.由于在用户注册过程中需要这些信息来设置用户的互联网地址。

In a simple environment you should be able to find the information in the names.nsf in the global domain document.在简单的环境中,您应该能够在全局域文档的 names.nsf 中找到信息。 see view 'Sever\\Domains'查看视图“服务器\\域”

You're not going to find the address name format.您不会找到地址名称格式。 It's not stored anywhere.它没有存储在任何地方。 (Yes, there's a format in the Global Domain document, but that's for creating return addresses for users who don't actually have an assigned internet address - a remnant from way back in the early days before we routinely assigned an internet address to each user. An organization may have a different rule for handling those "legacy user" cases than the format that they currently use for new users.) The value you are looking for is really a choice that you enter each time when registering users, and that's the only place it's ever relevant. (是的,全局域文档中有一种格式,但这是为实际上没有分配互联网地址的用户创建返回地址 - 早期我们经常为每个用户分配互联网地址之前的残余. 一个组织可能有不同的规则来处理这些“遗留用户”案例,而不是他们目前用于新用户的格式。)您要查找的值实际上是您每次注册用户时输入的选择,这就是只放置它相关的地方。 You can pick a different format each time and Domino doesn't care.您每次都可以选择不同的格式,Domino 不在乎。 If you want to set a default for your own application, you can store it in your application's configuration.如果要为自己的应用程序设置默认值,可以将其存储在应用程序的配置中。

The internet domain can, in theory, be read from the Global Domain document or from Internet Site documents, in names.nsf, but that's plural: One server can support multiple sites with different domain names.理论上,internet 域可以从名称.nsf 中的 Global Domain 文档或 Internet Site 文档中读取,但这是复数形式:一台服务器可以支持具有不同域名的多个站点。 The one in the Global Domain document is the "primary" name, but that doesn't necessarily imply that it's the one you want to use for registering new users! Global Domain 文档中的名称是“主要”名称,但这并不一定意味着它是您要用于注册新用户的名称! Some organizations, for example, use a different domain name for users depending on what country they or in or what division they are in. I can't really think of any way that you could distinguish which one of the domain names you would find in names.nsf is the one that you should be using for any given registration.例如,一些组织根据用户所在的国家或地区或他们所在的部门为用户使用不同的域名。我真的想不出任何方法可以区分您会在哪个域名中找到names.nsf 是您应该用于任何给定注册的文件。 Again, if you want to provide a default value, you can store it in your application's configuration.同样,如果您想提供默认值,可以将其存储在应用程序的配置中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用“ Interop.Domino.dll”(C#)获取Lotus Notes密码(在本地计算机上)? - How to get Lotus Notes Password (on local machine) using “Interop.Domino.dll” (C#)? 如何使用c#和interop.domino.dll的用法在Domino服务器中插入新的注释文档? - how to insert a new notes document in the domino server with c# and the usage of interop.domino.dll? 使用 c# Interop.domino.dll 使用管理员帐户创建 NotesSession - Create NotesSession with Admin Account using c# Interop.domino.dll 使用Interop.domino.dll的C#控制台应用程序 - 在作为计划任务运行时失败 - C# console app using Interop.domino.dll - failing when running as Scheduled Task 使用 interop.domino.dll c# 在 .nsf 文件中创建新文档,特别是用户下的联系人 - Create new document in .nsf file using interop.domino.dll c# specially a contact under user 如何使用INTEROP.DOMINO.DLL从Lotus Notes RichText字段获取链接,图像数据 - How to get link, image data from Lotus Notes RichText field using INTEROP.DOMINO.DLL 使用Interop.Domino.dll读取Lotus Notes和Domino邮箱 - Reading Lotus Notes & Domino Mailbox using Interop.Domino.dll 使用“ Interop.Domino.dll”从Domino服务器访问“ mail \\ ServerMailFile.nsf”文件中的邮件 - Accessing mails from “mail\ServerMailFile.nsf” file from Domino Server using “Interop.Domino.dll” 与dll的C#互操作 - C# Interop with dll 如何在C#WinForms中以Internet点分整数格式获取网络ip地址 - How to get network ip address in internet dotted-integer format in c# winforms
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM