O'Reilly logo

Active Directory® Administrator's Pocket Consultant by William Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DSGET USER

Displays the properties of user accounts using one of two syntaxes. The syntax for viewing the properties of multiple users is

dsget user UserDN ... [-dn] [-samid] [-sid] [-upn]
[-fn] [-mi] [-ln] [-display] [-fnp] [-lnp]
[-displayp] [-effectivepso] [-empid] [-desc]
[-office] [-tel] [-email] [-hometel] [-pager]
[-mobile] [-fax] [-iptel] [-webpg] [-title] [-dept]
[-company] [-mgr] [-hmdir] [-hmdrv] [-profile]
[-loscr] [-mustchpwd] [-canchpwd] [-pwdneverexpires]
[-disabled] [-acctexpires] [-reversiblepwd]
[{-uc | -uco | -uci}] [-part PartitionDN [-qlimit]
[-qused]] [{-s Server | -d Domain}] [-u UserName]
[-p {Password | *}] [-c] [-q] [-l]

The syntax for viewing the group membership for users is

dsget user UserDN [-memberof [-expand]] [{-uc ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required