NTAccount

This class represents an account.

Base class
IdentifierBase

Methods
NTAccount.Initialize($domain, $name)

ex)
# create an instance
$n = new NTAccount;
# initialize
$n = $n.Initialize($env:USERDOMAIN, $env:USERNAME);
# check SID
$n.SID.Value;
# check the account
$n.NTAccount.Value;

Last edited Mar 2, 2013 at 12:14 PM by Tom__S, version 2

Comments

No comments yet.