how to set RMCDA access

hello,

I have been trying to figure out how to set RMCDA access for a group in a view and haven't been able to figure it out. I can get RMCA and I can get RMD, but I cannot seem to get D and CA at the same time.

Does anyone have any idea how I can do this?

Thanks!
emily_butt - Tue Nov 22 12:17:16 EST 2011

Re: how to set RMCDA access
OurGuest - Tue Nov 22 13:34:45 EST 2011

Select Admin to get RMCDA

Re: how to set RMCDA access
emily_butt - Tue Nov 22 13:46:47 EST 2011

I was actually looking for how to do this by DXL rather than manually.

Here is the code I've got:

This gives groupName RMCA permissions in the view.
 

void setRMCDA( View v, string groupName ) {
    set( v, delete, groupName )
        set( v, control, groupName )
}


This gives groupName RMD permissions in the view.

 

 

void setRMCDA( View v, string groupName ) {
    set( v, control, groupName )
        set( v, delete, groupName )
}


Is there some specific sequence I need to use to get RMCDA?

Thanks!

 

 

Re: how to set RMCDA access
OurGuest - Tue Nov 22 14:11:26 EST 2011

emily_butt - Tue Nov 22 13:46:47 EST 2011

I was actually looking for how to do this by DXL rather than manually.

Here is the code I've got:

This gives groupName RMCA permissions in the view.
 

void setRMCDA( View v, string groupName ) {
    set( v, delete, groupName )
        set( v, control, groupName )
}


This gives groupName RMD permissions in the view.

 

 

void setRMCDA( View v, string groupName ) {
    set( v, control, groupName )
        set( v, delete, groupName )
}


Is there some specific sequence I need to use to get RMCDA?

Thanks!

 

 

Try set( v, delete | control, groupName )

Re: how to set RMCDA access
llandale - Tue Nov 22 15:15:44 EST 2011

emily_butt - Tue Nov 22 13:46:47 EST 2011

I was actually looking for how to do this by DXL rather than manually.

Here is the code I've got:

This gives groupName RMCA permissions in the view.
 

void setRMCDA( View v, string groupName ) {
    set( v, delete, groupName )
        set( v, control, groupName )
}


This gives groupName RMD permissions in the view.

 

 

void setRMCDA( View v, string groupName ) {
    set( v, control, groupName )
        set( v, delete, groupName )
}


Is there some specific sequence I need to use to get RMCDA?

Thanks!

 

 

Permission all = read|modify|create|delete|control 
 
void setRMCDA( View v, string groupName ) {
    set( v, all, groupName )
}

Re: how to set RMCDA access
emily_butt - Mon Nov 28 14:35:19 EST 2011

OurGuest - Tue Nov 22 14:11:26 EST 2011
Try set( v, delete | control, groupName )

Thanks! using delete|control worked perfectly.