SlideShare una empresa de Scribd logo
1 de 21
.NETからActive Directoryデータにアクセス
組織単位(OU)情報を表示する
小山 三智男
mitchin
Microsoft MVP for Directory Services
サンプルアプリケーション
2
開発環境
• Domain:Windows Server 2008、Windows Server 2012 R2
• Client:Windows 8.1 Pro、Windows 7 Professional SP1
• IDE:Visual Studio Professional 2013
• Projects:Windows Forms(.NET 4.5.1)
Web Forms(.NET 4.5.1) IE11、IE10
Class Library(.NET 4.5.1)
※ソースコード自体は .NET 4 相当
実行環境
• DC:Windows Server 2008 Standard SP2(.NET 4.5.1)
• IIS:Windows 認証
• Client:Windows 7 Professional SP1、IE10
3
参照設定
•.NETから Active Directory の色々な情報にアクセスするために
System.DirectoryServices アセンブリを参照する必要がありま
す。
•ドメインやサイト関連は System.DirectoryServices.
ActiveDirectory 名前空間にそれらを表すクラスがあり、Active
Directory の管理タスクを自動化するために使用されます。
•Active Directory 内のデータにアクセスするために使用される
のは System.DirectoryServices 名前空間で、オブジェクトを
カプセル化する DirectoryEntry クラスやクエリを実行する
DirectorySearcher クラスなどがあります。
•ADSI(Active Directory Services Interfaces)を使用してネイ
ティブなオブジェクトを扱う場合は Active DS Type Libraryを
参照する必要があります。
4
主にどんなデータがあるの?
管理ツール「Active Directory ユーザとコンピュータ」で管理す
る以下のオブジェクト
• ユーザ
• グループ
• コンピュータ
• 組織単位(OU)
• プリンタ
• 共有フォルダ
ADSI
基本インターフェイスは IADs で、各オブジェクトはこのイン
ターフェイスを継承しています。
DirectoryEntry.NativeObject プロパティの値を上記インター
フェイスにキャストできます。但し IADsComputer は LDAP
をサポートしていないので 実質キャストできません。
5
ユーザ IADsUser
グループ IADsGroup
コンピュータ IADsComputer
組織単位(OU) IADsOU
プリンタ IADsPrintQueue
共有フォルダ
6
どうやって接続するの?
ドメインに接続するには LDAP を使います。
プロバイダ:LDAP(Lightweight Directory Access Protocol)
書式例:LDAP://DC=virtual,DC=proceed,DC=local
この LDAP の接続文字列を引数にして DirectoryEntry のインス
タンスを作成します。
作成した DirectoryEntry がドメインを表し、検索のルートにな
ります。(DirectorySearcher の引数になります。)
この場合、検索範囲はドメイン全体ということになります。
検索してOUのリストを取得する
• 接続するドメインや取得したOUは DirectoryEntry オブジェクト
• ユーザやOUを検索するのは DirectorySearcher オブジェクト
• 複数の検索結果は SearchResultCollection として返される
• SearchResult.GetDirectoryEntry メソッドで DirectoryEntry を取得
• LDAP書式のフィルター文字列(DirectorySearcher.Filter プロパティ)は
次のように指定(属性=値 をカッコで括る)
• "(objectCategory=OrganizationalUnit)" -- OU
• "(&(objectCategory=OrganizationalUnit)(!location=*本社))" -- 本社
以外のOU
• "(&(objectCategory=OrganizationalUnit)(|(st=東京都)(st=大阪府)))"
-- 都道府県が東京か大阪のOU
7
サンプルアプリケーションの初期画面
ドメインを取得して画面下部に
接続先を表示しています。
8
プロパティと属性の対応
プロパティ画面の「全般」タブの項目に対応する属性です。
9
組織単位リスト画面(Windowsアプリ)
10
組織単位リスト画面(Webアプリ)
11
クラスライブラリ側に追加したクラス
OrganizationalUnit (組織単位を表すクラス)
プロパティ
• City (市区町村を取得または設定)
• PostalCode (郵便番号を取得または設定)
• Prefecture (都道府県を取得または設定)
• StoredDomainObjects (直下のオブジェクトを取得)
• Street (番地を取得または設定)
メソッド
• FindByPath (データバインド用:指定したパスのOUを検索)
• Dispose (オーバーライド:リソースを解放)
12
フォーム側(Windowsアプリ)
• BindingSource のデータソースに OrganizationalUnit クラス
を指定
• 初期画面と同じ内容の ImageList を一覧 TreeView 及び直下
のデータ表示用 ListView のイメージに設定
• 詳細の「データ」以外の各コントロールは BindingSource(ク
ラス)のプロパティにバインド
• OU の一覧を取得し、表示用のパスと名前でソートしたものを
内部保持してそれを BindingSource のデータソースに設定
• 取得した OU の数を表示
• 一覧 TreeView に OU のノードを作成して追加
• 一覧から OU を選択すると、内部保持しているリストから 選択
された OU を抽出し、OUBindingSource の Position を設定
• 選択された OU に格納されているデータを ListView に表示
13
フォーム側(Webアプリ)
• OrganizationalUnit クラスをビジネスオブジェクトとする
ObjectDataSource を詳細 FormView のデータソースに指定、
SELECT 操作に FindByPath メソッドを指定し パラメータ
ソースに一覧 TreeView の SelectedValue を指定
• OU の一覧を取得し、表示用のパスと名前でソートしたものを
内部保持してそれを BindingSource のデータソースに設定
• 取得した OU の数を表示
• OU に格納されているデータ格納用の Dictionary を初期化して
ViewState に保持
• 一覧 TreeView に OU のノードを作成して追加
• 一覧から OU を選択すると、格納されているデータから
DataTable を作成してデータ表示用 GridView にバインドし
Dictionary に追加(ある場合は DataTable を取り出す)
14
組織単位取得サンプルコード(VB)
Public Shared Function GetOrganizationalUnits(
) As IList(Of OrganizationalUnit)
Dim ous As New List(Of OrganizationalUnit)()
Using root = GetRootEntry() 'ルートのDirectoryEntryを取得
Dim filter = "(objectCategory=OrganizationalUnit)"
Using searcher As New DirectorySearcher(root, filter)
Using results = searcher.FindAll()
For Each res As SearchResult In results
ous.Add(DirectCast(CreateInstance(res.GetDirectoryEntry()),
OrganizationalUnit)) 'DirectoryObject を作成して追加
Next
End Using
End Using
End Using
Return ous
End Function
※root は一般的には New DirectoryEntry(LDAPのルートパス) をセット
15
組織単位取得サンプルコード(C#)
public static IList<OrganizationalUnit> GetOrganizationalUnits() {
var ous = new List<OrganizationalUnit>();
using (var root = GetRootEntry()) { //ルートのDirectoryEntryを取得
var filter = "(objectCategory=OrganizationalUnit)";
using (var searcher = new DirectorySearcher(root, filter)) {
using (var results = searcher.FindAll()) {
foreach (SearchResult res in results) {
ous.Add((OrganizationalUnit)CreateInstance(
res.GetDirectoryEntry())); //DirectoryObject を作成して追加
}
}
}
}
return ous;
}
※root は一般的には new DirectoryEntry(LDAPのルートパス) をセット
16
直下のデータ取得サンプルコード(VB)
Friend Shared Function GetStoredDomainObjects(
ou As OrganizationalUnit) As List(Of DomainObject)
Dim objects As New List(Of DomainObject)()
Using searcher As New DirectorySearcher(ou.Entry)
searcher.SearchScope = SearchScope.OneLevel
Using results = searcher.FindAll()
For Each res As SearchResult In results
objects.Add(DirectCast(CreateInstance(res.GetDirectoryEntry()),
DomainObject)) 'DirectoryObject を作成して追加
Next
End Using
End Using
Return objects.OrderBy(Function(o) o.Name).ToList()
End Function
※直下のデータのみ必要なので DirectorySearcher.SearchScope プロパティ
に SearchScope.OneLevel を指定(検索ルートは対象のOU)
17
直下のデータ取得サンプルコード(C#)
internal static List<DomainObject>
GetStoredDomainObjects(OrganizationalUnit ou) {
var objects = new List<DomainObject>();
using (var searcher = new DirectorySearcher(ou.Entry)) {
searcher.SearchScope = SearchScope.OneLevel;
using (var results = searcher.FindAll()) {
foreach (SearchResult res in results) {
objects.Add((DomainObject)CreateInstance(
res.GetDirectoryEntry())); //DirectoryObject を作成して追加
}
}
}
return objects.OrderBy(o => o.Name).ToList();
}
※直下のデータのみ必要なので DirectorySearcher.SearchScope プロパティ
に SearchScope.OneLevel を指定(検索ルートは対象のOU)
18
組織単位の検索サンプルコード(VB)
<DataObjectMethod(DataObjectMethodType.Select)>
Public Shared Function FindByPath(path As String) As OrganizationalUnit
'distinguishedNameを生成
Dim ouNames = path.Split("/"c).Reverse()
Dim sb As New StringBuilder()
For Each ouName In ouNames
sb.AppendFormat("OU={0},", ouName)
Next
For Each dc In DirectoryAccess.DomainName.Split("."c)
sb.AppendFormat("DC={0},", dc)
Next
sb.Length -= 1
Return DirectCast(DirectoryAccess.FindDirectoryObject(sb.ToString(),
CategoryType.OrganizationalUnit), OrganizationalUnit)
End Function
19
組織単位の検索サンプルコード(C#)
[DataObjectMethod(DataObjectMethodType.Select)]
internal static OrganizationalUnit FindByPath(string path) {
//distinguishedNameを生成
var ouNames = path.Split('/').Reverse();
var sb = new StringBuilder();
foreach (var ouName in ouNames) {
sb.AppendFormat("OU={0},", ouName);
}
foreach (var dc in DirectoryAccess.DomainName.Split('.')) {
sb.AppendFormat("DC={0},", dc);
}
sb.Length--;
return (OrganizationalUnit)DirectoryAccess.FindDirectoryObject(
sb.ToString(), CategoryType.OrganizationalUnit);
}
20
詳細や関連情報はブログ等で
.NETからActive Directoryデータにアクセス ~共有フォルダの取得と表示~
http://www.slideshare.net/mitchin227/display-folder
ユーザやグループの検索
http://blogs.wankuma.com/mitchin/archive/2013/06/26/327958.aspx
Active Directory 内のオブジェクトの検索指定
http://blogs.wankuma.com/mitchin/archive/2013/06/28/327969.aspx
組織単位(OU)
http://blogs.wankuma.com/mitchin/archive/2014/03/01/328414.aspx
組織単位(OU)用のクラス
http://blogs.wankuma.com/mitchin/archive/2014/03/02/328419.aspx
http://blogs.wankuma.com/mitchin/archive/2014/03/04/328422.aspx
DirectoryAccessクラスに追加した組織単位(OU)関連のメソッド
http://blogs.wankuma.com/mitchin/archive/2014/03/11/328434.aspx
Windows Server 2012 R2でActive Directory始めました。
http://blogs.wankuma.com/mitchin/archive/2014/05/05/330117.aspx
21

Más contenido relacionado

La actualidad más candente

Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsJames Bayer
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
MongoDB et Elasticsearch, meilleurs ennemis ?
MongoDB et Elasticsearch, meilleurs ennemis ?MongoDB et Elasticsearch, meilleurs ennemis ?
MongoDB et Elasticsearch, meilleurs ennemis ?Sébastien Prunier
 
REST APIs with Spring
REST APIs with SpringREST APIs with Spring
REST APIs with SpringJoshua Long
 
E-Commerce search with Elasticsearch
E-Commerce search with ElasticsearchE-Commerce search with Elasticsearch
E-Commerce search with ElasticsearchYevhen Shyshkin
 
Entity Framework Core
Entity Framework CoreEntity Framework Core
Entity Framework CoreKiran Shahi
 
Introduction to Smart Data Models
Introduction to Smart Data ModelsIntroduction to Smart Data Models
Introduction to Smart Data ModelsFIWARE
 
Introduction to Azure Resource Manager
Introduction to Azure Resource ManagerIntroduction to Azure Resource Manager
Introduction to Azure Resource ManagerLukasz Kaluzny
 
#살아있다 #자프링외길12년차 #코프링2개월생존기
#살아있다 #자프링외길12년차 #코프링2개월생존기#살아있다 #자프링외길12년차 #코프링2개월생존기
#살아있다 #자프링외길12년차 #코프링2개월생존기Arawn Park
 
What's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 ReleaseWhat's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 ReleaseShotaro Suzuki
 
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPTCOLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPTPreet Kamal Singh
 
Active Directoryデータのプロパティ出力(Output Properties)
Active Directoryデータのプロパティ出力(Output Properties)Active Directoryデータのプロパティ出力(Output Properties)
Active Directoryデータのプロパティ出力(Output Properties)Michio Koyama
 
RESTful API 설계
RESTful API 설계RESTful API 설계
RESTful API 설계Jinho Yoo
 

La actualidad más candente (20)

Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic Concepts
 
Rest API
Rest APIRest API
Rest API
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
MongoDB et Elasticsearch, meilleurs ennemis ?
MongoDB et Elasticsearch, meilleurs ennemis ?MongoDB et Elasticsearch, meilleurs ennemis ?
MongoDB et Elasticsearch, meilleurs ennemis ?
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
REST APIs with Spring
REST APIs with SpringREST APIs with Spring
REST APIs with Spring
 
E-Commerce search with Elasticsearch
E-Commerce search with ElasticsearchE-Commerce search with Elasticsearch
E-Commerce search with Elasticsearch
 
Entity Framework Core
Entity Framework CoreEntity Framework Core
Entity Framework Core
 
An introduction to Vue.js
An introduction to Vue.jsAn introduction to Vue.js
An introduction to Vue.js
 
Introduction to Smart Data Models
Introduction to Smart Data ModelsIntroduction to Smart Data Models
Introduction to Smart Data Models
 
Introduction to Azure Resource Manager
Introduction to Azure Resource ManagerIntroduction to Azure Resource Manager
Introduction to Azure Resource Manager
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
Json
JsonJson
Json
 
NodeJS for Beginner
NodeJS for BeginnerNodeJS for Beginner
NodeJS for Beginner
 
#살아있다 #자프링외길12년차 #코프링2개월생존기
#살아있다 #자프링외길12년차 #코프링2개월생존기#살아있다 #자프링외길12년차 #코프링2개월생존기
#살아있다 #자프링외길12년차 #코프링2개월생존기
 
What's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 ReleaseWhat's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 Release
 
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPTCOLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT
 
Getting started with entity framework
Getting started with entity framework Getting started with entity framework
Getting started with entity framework
 
Active Directoryデータのプロパティ出力(Output Properties)
Active Directoryデータのプロパティ出力(Output Properties)Active Directoryデータのプロパティ出力(Output Properties)
Active Directoryデータのプロパティ出力(Output Properties)
 
RESTful API 설계
RESTful API 설계RESTful API 설계
RESTful API 설계
 

Similar a .NETからActive Directoryデータにアクセス ~組織単位(OU)情報の取得と表示~

.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~Michio Koyama
 
.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~Michio Koyama
 
.NETからActive Directoryにアクセス
.NETからActive Directoryにアクセス.NETからActive Directoryにアクセス
.NETからActive DirectoryにアクセスMichio Koyama
 
Spring bootでweb 基本編
Spring bootでweb 基本編Spring bootでweb 基本編
Spring bootでweb 基本編なべ
 
今さら聞けない! Active Directoryドメインサービス入門
今さら聞けない! Active Directoryドメインサービス入門今さら聞けない! Active Directoryドメインサービス入門
今さら聞けない! Active Directoryドメインサービス入門Tetsuya Yokoyama
 
Synthesijer - HLS frineds 20190511
Synthesijer - HLS frineds 20190511Synthesijer - HLS frineds 20190511
Synthesijer - HLS frineds 20190511Takefumi MIYOSHI
 
Wsfc basic 130720
Wsfc basic 130720Wsfc basic 130720
Wsfc basic 130720wintechq
 
SpringBootによるDB更新
SpringBootによるDB更新SpringBootによるDB更新
SpringBootによるDB更新iPride Co., Ltd.
 
NIO.2を使って簡単ファイル操作
NIO.2を使って簡単ファイル操作NIO.2を使って簡単ファイル操作
NIO.2を使って簡単ファイル操作Yuichi Sakuraba
 
2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振
2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振
2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振Sadao Tokuyama
 
Java ee6 with scala
Java ee6 with scalaJava ee6 with scala
Java ee6 with scalaSatoshi Kubo
 
Azure of the_weekend_hobby
Azure of the_weekend_hobbyAzure of the_weekend_hobby
Azure of the_weekend_hobbyNamba Kazuo
 
Elastic circle ci-co-webinar-20210127
Elastic circle ci-co-webinar-20210127Elastic circle ci-co-webinar-20210127
Elastic circle ci-co-webinar-20210127Shotaro Suzuki
 
Data Factory V2 新機能徹底活用入門
Data Factory V2 新機能徹底活用入門Data Factory V2 新機能徹底活用入門
Data Factory V2 新機能徹底活用入門Keisuke Fujikawa
 
Dot netcore multiplatform 2
Dot netcore multiplatform 2Dot netcore multiplatform 2
Dot netcore multiplatform 2shozon
 
Elasticsearchの基本動作まとめ
Elasticsearchの基本動作まとめElasticsearchの基本動作まとめ
Elasticsearchの基本動作まとめ朋哉 池田
 
FMDBの利用方法
FMDBの利用方法FMDBの利用方法
FMDBの利用方法uske7i
 
J qmobiはjqueryから軽量化しているか
J qmobiはjqueryから軽量化しているかJ qmobiはjqueryから軽量化しているか
J qmobiはjqueryから軽量化しているかHisashi Aruji
 

Similar a .NETからActive Directoryデータにアクセス ~組織単位(OU)情報の取得と表示~ (20)

.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~共有フォルダ情報の取得と表示~
 
.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~
.NETからActive Directoryデータにアクセス ~プリンタ情報の取得と表示~
 
.NETからActive Directoryにアクセス
.NETからActive Directoryにアクセス.NETからActive Directoryにアクセス
.NETからActive Directoryにアクセス
 
Spring bootでweb 基本編
Spring bootでweb 基本編Spring bootでweb 基本編
Spring bootでweb 基本編
 
今さら聞けない! Active Directoryドメインサービス入門
今さら聞けない! Active Directoryドメインサービス入門今さら聞けない! Active Directoryドメインサービス入門
今さら聞けない! Active Directoryドメインサービス入門
 
Synthesijer - HLS frineds 20190511
Synthesijer - HLS frineds 20190511Synthesijer - HLS frineds 20190511
Synthesijer - HLS frineds 20190511
 
Wsfc basic 130720
Wsfc basic 130720Wsfc basic 130720
Wsfc basic 130720
 
20080524
2008052420080524
20080524
 
SpringBootによるDB更新
SpringBootによるDB更新SpringBootによるDB更新
SpringBootによるDB更新
 
NIO.2を使って簡単ファイル操作
NIO.2を使って簡単ファイル操作NIO.2を使って簡単ファイル操作
NIO.2を使って簡単ファイル操作
 
2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振
2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振
2011年2月9日第130回FxUG勉強会@東京第一打者空振り三振
 
Java ee6 with scala
Java ee6 with scalaJava ee6 with scala
Java ee6 with scala
 
Teclab3
Teclab3Teclab3
Teclab3
 
Azure of the_weekend_hobby
Azure of the_weekend_hobbyAzure of the_weekend_hobby
Azure of the_weekend_hobby
 
Elastic circle ci-co-webinar-20210127
Elastic circle ci-co-webinar-20210127Elastic circle ci-co-webinar-20210127
Elastic circle ci-co-webinar-20210127
 
Data Factory V2 新機能徹底活用入門
Data Factory V2 新機能徹底活用入門Data Factory V2 新機能徹底活用入門
Data Factory V2 新機能徹底活用入門
 
Dot netcore multiplatform 2
Dot netcore multiplatform 2Dot netcore multiplatform 2
Dot netcore multiplatform 2
 
Elasticsearchの基本動作まとめ
Elasticsearchの基本動作まとめElasticsearchの基本動作まとめ
Elasticsearchの基本動作まとめ
 
FMDBの利用方法
FMDBの利用方法FMDBの利用方法
FMDBの利用方法
 
J qmobiはjqueryから軽量化しているか
J qmobiはjqueryから軽量化しているかJ qmobiはjqueryから軽量化しているか
J qmobiはjqueryから軽量化しているか
 

Más de Michio Koyama

Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~
Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~
Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~Michio Koyama
 
Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~
Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~
Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~Michio Koyama
 
所属しているグループをすべて取得する
所属しているグループをすべて取得する所属しているグループをすべて取得する
所属しているグループをすべて取得するMichio Koyama
 
Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~
Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~
Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~Michio Koyama
 
Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~
Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~
Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~Michio Koyama
 
Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~
Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~
Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~Michio Koyama
 
Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~
Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~
Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~Michio Koyama
 
Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~
Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~
Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~Michio Koyama
 
Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~
Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~
Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~Michio Koyama
 
ユーザの LockoutTime 属性の値の確認
ユーザの LockoutTime 属性の値の確認ユーザの LockoutTime 属性の値の確認
ユーザの LockoutTime 属性の値の確認Michio Koyama
 
Active Directoryに公開したプリンタを解除
Active Directoryに公開したプリンタを解除Active Directoryに公開したプリンタを解除
Active Directoryに公開したプリンタを解除Michio Koyama
 
Move the added printer to specific OU
Move the added printer to specific OUMove the added printer to specific OU
Move the added printer to specific OUMichio Koyama
 
Active Directory Security Descriptor ADSI - .Net
Active Directory Security Descriptor ADSI - .NetActive Directory Security Descriptor ADSI - .Net
Active Directory Security Descriptor ADSI - .NetMichio Koyama
 
Active Directoryデータの Security Descriptor
Active Directoryデータの Security DescriptorActive Directoryデータの Security Descriptor
Active Directoryデータの Security DescriptorMichio Koyama
 
Active Directoryデータの "大きい整数"
Active Directoryデータの "大きい整数"Active Directoryデータの "大きい整数"
Active Directoryデータの "大きい整数"Michio Koyama
 

Más de Michio Koyama (15)

Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~
Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~
Active Directoryドメインを作ってみよう ~フォレストに新しいツリーのドメインを追加~
 
Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~
Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~
Active Directoryドメインを作ってみよう ~ドメインコントローラー追加後の設定~
 
所属しているグループをすべて取得する
所属しているグループをすべて取得する所属しているグループをすべて取得する
所属しているグループをすべて取得する
 
Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~
Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~
Active Directoryドメインを作ってみよう ~ドメインコントローラーの追加~
 
Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~
Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~
Active Directoryドメインを作ってみよう ~ユーザーやグループの作成とPCのドメイン参加~
 
Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~
Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~
Active Directory DomainのGroup ~スコープと種類、所属可能なグループとメンバー~
 
Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~
Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~
Active DirectoryでDHCPを使う ~DHCPサーバーとクライアントの設定~
 
Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~
Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~
Active Directoryドメインを作ってみよう ~ドメインの作成とDNSサーバーの設定~
 
Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~
Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~
Active Directoryドメインを作る準備 ~AD DSとDNSサーバーのインストール~
 
ユーザの LockoutTime 属性の値の確認
ユーザの LockoutTime 属性の値の確認ユーザの LockoutTime 属性の値の確認
ユーザの LockoutTime 属性の値の確認
 
Active Directoryに公開したプリンタを解除
Active Directoryに公開したプリンタを解除Active Directoryに公開したプリンタを解除
Active Directoryに公開したプリンタを解除
 
Move the added printer to specific OU
Move the added printer to specific OUMove the added printer to specific OU
Move the added printer to specific OU
 
Active Directory Security Descriptor ADSI - .Net
Active Directory Security Descriptor ADSI - .NetActive Directory Security Descriptor ADSI - .Net
Active Directory Security Descriptor ADSI - .Net
 
Active Directoryデータの Security Descriptor
Active Directoryデータの Security DescriptorActive Directoryデータの Security Descriptor
Active Directoryデータの Security Descriptor
 
Active Directoryデータの "大きい整数"
Active Directoryデータの "大きい整数"Active Directoryデータの "大きい整数"
Active Directoryデータの "大きい整数"
 

Último

Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案sugiuralab
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 

Último (8)

Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 

.NETからActive Directoryデータにアクセス ~組織単位(OU)情報の取得と表示~