• Articles
  • API Documentation
Show / Hide Table of Contents
  • Wavefire.Nexus.ScriptObjects
    • AppScriptObject
    • ExtendableScriptObject
    • HostScriptObject
    • OrgScriptObject
    • OrgTemplateScriptObject
    • UserScriptObject

Class UserScriptObject

Defines the attributes of a Wavefire User for scripting purposes.

Inheritance
System.Object
UserScriptObject
Namespace: Wavefire.Nexus.ScriptObjects
Assembly: Wavefire.Nexus.dll
Syntax
public class UserScriptObject

Constructors

UserScriptObject()

Initializes a new instance of the System.Object class.

Declaration
public UserScriptObject()

UserScriptObject(User, NexusDb)

Initializes a new instance of the System.Object class.

Declaration
public UserScriptObject(User src, NexusDb db)
Parameters
Type Name Description
Wavefire.Nexus.Ef.User src
Wavefire.Nexus.Ef.NexusDb db

Properties

AccountName

The account name of this user as used by Active Directory.

Declaration
public string AccountName { get; set; }
Property Value
Type Description
System.String

DisplayName

The display name (i.e. full name) of the user.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
System.String

EmailAddress

The email address of the user.

Declaration
public string EmailAddress { get; set; }
Property Value
Type Description
System.String

FirstName

The first name of the user.

Declaration
public string FirstName { get; set; }
Property Value
Type Description
System.String

LastName

The last name of the user.

Declaration
public string LastName { get; set; }
Property Value
Type Description
System.String

Org

The organisation to which this user belongs.

Declaration
public OrgScriptObject Org { get; set; }
Property Value
Type Description
OrgScriptObject
Examples

To find the GUID of the OU of the Organisation of the user

$ParentOuUid = $TheUser.Org.AdOuUid

PhoneNumber

The phone number of the user.

Declaration
public string PhoneNumber { get; set; }
Property Value
Type Description
System.String

SID

The Active Directory Security Identifier for this user.

Declaration
public string SID { get; set; }
Property Value
Type Description
System.String

Uid

The Wavefire unique identifier for this User

Declaration
public Guid Uid { get; set; }
Property Value
Type Description
System.Guid
Back to top © Virium Innovations 2017