bAddUserToGroup - Solution Sites Routine

This function adds a user to an existing Active Directory group.

Definition

Function bAddUserToGroup(
  byVal szGroupName,
  byVal sUserDN)

Parameters

  • szGroupName
    A string containing the name of the Active Directory group.
  • sUserDN
    A string containing the distinguished name of the user.

Return Value

A Boolean that indicates whether the user was successfully added to the group. True indicates success. False indicates failure.

Defined in File

services\include\ad_routines.asp

Routines Called

rsGetProfile

Called By

bPaintACLForUser

Copyright © 2005 Microsoft Corporation.
All rights reserved.