Re: Adding user to group with # in username
From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 05/26/04
- Next message: Al Dunbar [MS-MVP]: "Re: Search for a user object"
- Previous message: Roger Abell: "Re: Want more than 1,000 results from AD Query"
- In reply to: jeepers: "Adding user to group with # in username"
- Next in thread: jeepers: "Re: Adding user to group with # in username"
- Reply: jeepers: "Re: Adding user to group with # in username"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 18:39:04 -0600
"jeepers" <anonymous@discussions.microsoft.com> wrote in message
news:164D48D5-1383-4F73-95BB-7B49329D0E4E@microsoft.com...
> We have a script that will add users to a group but if the username starts
with a # character, the script errors and the user is not added to the
group. Is there anyway of escaping the #?? at the begining of the username.
Try prefixing special characters with a "\".
/Al
- Next message: Al Dunbar [MS-MVP]: "Re: Search for a user object"
- Previous message: Roger Abell: "Re: Want more than 1,000 results from AD Query"
- In reply to: jeepers: "Adding user to group with # in username"
- Next in thread: jeepers: "Re: Adding user to group with # in username"
- Reply: jeepers: "Re: Adding user to group with # in username"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|