NTsecurity

NTsecurity

NTsecurity

component for NT authentication and authorization

Metadata

authenticateUser()

Authenticate a user against Active Directory

Arguments

Name Type Required Default Options Description
userName string Yes
password string Yes
domain string Yes

getDomainGroups()

Retrieve all groups for the domain

Arguments

Name Type Required Default Options Description
domain string Yes

getGroupDescription()

Return group notes

Arguments

Name Type Required Default Options Description
groupName string Yes
domain string Yes

getGroupUsers()

Retrieve array of users in a group

Arguments

Name Type Required Default Options Description
groupName string Yes
domain string Yes

getUserDescription()

Return user description

Arguments

Name Type Required Default Options Description
userName string Yes
domain string Yes

getUserFullName()

Return full name of user

Arguments

Name Type Required Default Options Description
userName string Yes
domain string Yes

getUserGroups()

Get user groups

Arguments

Name Type Required Default Options Description
userName string Yes
domain string Yes

userInDirectory()

Determine if a user is a member of domain

Arguments

Name Type Required Default Options Description
userName string Yes
domain string Yes

userInGroup()

Determine if a user is a member of given group in the domain

Arguments

Name Type Required Default Options Description
userName string Yes
groupName string Yes
domain string Yes