Class OrgScriptObject
Script object for a Wavefire Organistion
Inherited Members
Namespace: Wavefire.Nexus.ScriptObjects
Assembly: Wavefire.Nexus.dll
Syntax
public class OrgScriptObject : ExtendableScriptObject
Constructors
OrgScriptObject()
Initializes a new instance of the System.Object class.
Declaration
public OrgScriptObject()
OrgScriptObject(Org, NexusDb)
Initializes a new instance of the System.Object class.
Declaration
public OrgScriptObject(Org src, NexusDb db)
Parameters
Type | Name | Description |
---|---|---|
Wavefire.Nexus.Ef.Org | src | |
Wavefire.Nexus.Ef.NexusDb | db |
Properties
AdOuName
The name of the AD OU associated with this organisation. Note that this may be null for a non-native organisation.
Declaration
public string AdOuName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AdOuUid
The GUID of the AD OU associated with this organisation.
Declaration
public Guid? AdOuUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
AdSecurityGroupName
The name of the AD Security Group associated with this organisation.
Declaration
public string AdSecurityGroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AdSecurityGroupUid
The GUID of the AD Security Group associated with this organisation.
Declaration
public Guid? AdSecurityGroupUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
City
The city part of the address for this organisation.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CountryCode
The country code part of the address for this organisation.
Declaration
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Created
The date on which this organisation was created.
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
DefaultSubOrgOuUid
The GUID of the AD OU in which to place new sub organisations of this organisation - Valid only if Native is false.
Declaration
public Guid? DefaultSubOrgOuUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
DefaultUserOuUid
The GUID of the AD OU in which to place new users of this organisation - Valid only if Native is false.
Declaration
public Guid? DefaultUserOuUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
IsNative
If true then this organisation was created by Wavefire, else it was imported from an existing AD structure.
Declaration
public bool IsNative { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MainContactEmail
The main contact email address of this organisiation.
Declaration
public string MainContactEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MainContactName
The main contact name of this organisation.
Declaration
public string MainContactName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MainContactPhone
The main conact phone number of this organisation.
Declaration
public string MainContactPhone { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxUsers
The maximum number of users permitted for this organisation.
Declaration
public int MaxUsers { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
The name of this organisation.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrgLevel
The distance of this organisation from root (e.g. root is 0, ISV is 1, Client is 2)
Declaration
public int OrgLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Parent
The parent organisation of this organisation.
Declaration
public OrgScriptObject Parent { get; set; }
Property Value
Type | Description |
---|---|
OrgScriptObject |
Examples
$ParentOuUid = $Foo.Parent.AdOuUid
PostCode
The postcode part of the address for this organisation.
Declaration
public string PostCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShortName
The short name of this organisation.
Declaration
public string ShortName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Street
The street part of the address for this organisation.
Declaration
public string Street { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TechSupportEmail
The tech support email address for this organisation.
Declaration
public string TechSupportEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TechSupportPhone
The tech support phone number for this organisation.
Declaration
public string TechSupportPhone { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Template
The Organisation Template assigned to this organisation.
Declaration
public OrgTemplateScriptObject Template { get; set; }
Property Value
Type | Description |
---|---|
OrgTemplateScriptObject |
Uid
The Wavefire GUID for this organisation.
Declaration
public Guid Uid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
VendorId
The vendor ID assigned to this organisation.
Declaration
public string VendorId { get; set; }
Property Value
Type | Description |
---|---|
System.String |