iammi Absent Member.
Absent Member.
317 views

Lotus Notes Groups membership management


Hello,

I will soon have to add Users To Groups in Lotus Notes, so to get
prepared I am asking some Questions

I found a piece of code , what it Does is adding a user to Deny Access
Group by doing the following

1- Acquire the Notes Deny Access Group UNID, using the name of the
group as the DN to query

2 - Working with Notes Deny Access Group UNID as an association to add
members

the code is here : '<rule> <description>Acquire the Notes Deny Access
Group UNID</description> - Pastebin.com' (http://pastebin.com/KF0qxu4V)

My questions

- Is that the same way to Acquire the Group UNID ( query on the groupe
name)
- Is that the same way to add users to other types of groupes (other
than Deny Access)? knowing that my Notes Groupes are not associated in
eDir

Regards


--
iammi
------------------------------------------------------------------------
iammi's Profile: http://forums.novell.com/member.php?userid=71308
View this thread: http://forums.novell.com/showthread.php?t=450760

Labels (1)
0 Likes
1 Reply
Knowledge Partner
Knowledge Partner

Re: Lotus Notes Groups membership management

On 1/15/2012 4:26 AM, iammi wrote:
>
> Hello,
>
> I will soon have to add Users To Groups in Lotus Notes, so to get
> prepared I am asking some Questions
>
> I found a piece of code , what it Does is adding a user to Deny Access
> Group by doing the following
>
> 1- Acquire the Notes Deny Access Group UNID, using the name of the
> group as the DN to query
>
> 2 - Working with Notes Deny Access Group UNID as an association to add
> members
>
> the code is here : '<rule> <description>Acquire the Notes Deny Access
> Group UNID</description> - Pastebin.com' (http://pastebin.com/KF0qxu4V)
>
> My questions
>
> - Is that the same way to Acquire the Group UNID ( query on the groupe
> name)
> - Is that the same way to add users to other types of groupes (other
> than Deny Access)? knowing that my Notes Groupes are not associated in
> eDir


When you target an object in the destination system, you need to be able
to identify it. So you can use a Dest DN or an Association value. The
UNID in Notes is the association value (a unique thingy that can be used
to find the object).

Thus the Deny Access group approach does not sync the group, but instead
uses the UNID to reference it.

Now I am pretty sure (Sorry, last NOtes driver I touched was 2 years ago
now) you can query into Notes, if you know the DN of the group, (which
is always flat as only users go into OU's) and get its UNID. Maybe the
Resolve token will even work?

But if you go get the UNID for your group and send a modify of the
group, referenced by the association value (the UNID) it shoudl work the
same as the Deny Access group approach.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.