ADAM: Objects as Atributes in ADAM schema ?

B

Björn Andersen

Hello Group,

We want to use ADAM to store our webaccess-data and need to extend/modify
the schema for that. Creating Attributes and classes donen't seem to
difficult. But we got several n-to-n relationships in the old
relational-DB-based model, e.g. we define rights-characteristics in one
table and user groups in an other. To move to Adam's X.500 object-orientated
Model we'd define a class for the rightsgroup and a class for the rights -
both can't be simple Attributes with a syntax. But one can't declare one
attribute of the group as the rights-class we'd need because the
attribute-syntax can't be modified.

I think we need attributes in a class of type/syntax: other self-defined
class.
How do we get around this problem ?
Or am I generally aproaching the problem from the wrong Side?
 
J

Joe Kaplan \(MVP - ADSI\)

It seems to me like you'd want to use a multi-valued DN syntax attribute
with a matching backlink attribute in order to implement a many-to-many
relationship between two object classes.

I'd read up on this page paying special attention to the linkID
documentation:

http://msdn.microsoft.com/library/d...ad/ad/defining_a_new_attribute.asp?frame=true

One of the tricks is that you must create the linkID value AT CREATE TIME.
If you don't, you can't add it later.

You should probably also request a linkID pair from MS using the website
mentioned on that page to avoid potential collisions. If not, choose very
high numbers!

HTH,

Joe K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top