Table of Contents

Method AddScope

Namespace
Innova.Prism.Library.Security
Assembly
Innova.Prism.Library.dll

AddScope(DirectoryScope, bool, bool, bool, bool, bool, bool, bool)

An easy-to-use method which adds a new element to UnderlyingScopeObjects.

public void AddScope(DirectoryScope scope, bool users = false, bool groups = false, bool excludeBuiltinGroups = false, bool computers = false, bool contacts = false, bool wellknown = false, bool starting = false)

Parameters

scope DirectoryScope

the scope type

users bool

can select users

groups bool

can select groups

excludeBuiltinGroups bool

exclude built-in groups (if groups is true)

computers bool

can select computers

contacts bool

can select contacts

wellknown bool

can select well-known principals

starting bool

is it the starting scope